| T O P I C R E V I E W |
| esprd |
Posted - Jul 15 2025 : 11:17:45 Hi,
I need to add a monochrome semi-transparent layer, to have a kind of coloured filter over the whole picture. In some cases my picture is made of two layers, the upper one being semi-transparent.
I though about adding a shape layer type rectangle, the rectangle having the same size as the picture itself, and set layer opacity = 0.7.
It does what I need, but is there a better way to have this ?
ep |
| 3 L A T E S T R E P L I E S (Newest First) |
| xequte |
Posted - Jul 24 2025 : 15:47:47 
Nigel Xequte Software www.imageen.com
|
| esprd |
Posted - Jul 24 2025 : 11:02:59 Sorry for not being clear enough.
Mask is not what I need, but I found the solution : - create a layer over the background ImageEnView.LayersAdd(ImageEnView.Layers[0].Kind, ImageEnView.Layers[0].PosX, ImageEnView.Layers[0].PosY, ImageEnView.Layers[0].Width, ImageEnView.Layers[0].Height) ;
- fill with a color (that what I was searching) ImageEnView.Layers[1].Bitmap.FillRect( 0, 0, ImageEnView.Layers[0].Width, ImageEnView.Layers[0].Height, clBlack ) ; // Or any color
- Set layer's transparency imgSample.Layers[1].Opacity := 0.8
ep |
| xequte |
Posted - Jul 15 2025 : 21:13:26 Hi
Not quite seeing what you're trying to do here, but it sounds like your other option is a mask layer:
http://www.imageen.com/help/TIELayer.IsMask.html
Nigel Xequte Software www.imageen.com
|
|
|