T O P I C R E V I E W |
fender75 |
Posted - Jan 22 2019 : 03:12:48 Hi,
I'm just starting with ImageEn and I'd like to test it for some overlays in Delphi.
I'd like to have an ImageEnView with a loaded image, but I'd like to have another ImageEnView on the top, with a .png file on it. This new png will work as a layer and I'd need the second ImageEnView has a transparent background. That way I can see the first imageEnView
I'm trying to do it, but I'm pretty new to ImageEn
thanks so much
I |
1 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Jan 22 2019 : 23:33:57 A TImageEnView is not a transparent control, so if you stack them you won't be able to see the underlying one.
It sounds like you need to use layers, i.e. a background image layer, and a transparent layer on top.
e.g.
// Load background image ImageEnView1.IO.LoadFromFile( 'C:\Background.jpg' );
// Add an image layer ImageEnView1.LayersAdd( ielkImage );
// Load image into the current layer ImageEnView1.IO.LoadFromFile( 'C:\Transparent.png' );
Please also try the demos under:
\Demos\LayerEditing\Layers_Images\Layers.dpr
Nigel Xequte Software www.imageen.com
|
|
|