Hi
That should be largely straight forward.
1. You can use:
// Clone layer 0
iLayer := ImageEnView2.LayersAdd( ImageEnView1.Layers[ 0 ].Kind );
ImageEnView2.Layers[ iLayer ].Assign( ImageEnView1.Layers[ 0 ] );
2. ImageEnProc methods are applied to the bitmap of the active layer. If LayersCurrent = 1, then the filter will apply only to layer 1 bitmap
3. Assuming you don't want it is real time, you can do
// Assign layers from one ImageEnView to another (but not background image)
// Note: ImageEnView2.assign( ImageEnView1 ) will assign all content including layers
for I := 1 to ImageEnView1.LayersCount - 1 do
begin
// Append layer of same time
iLayer := ImageEnView2.LayersAdd( ImageEnView1.Layers[ i ].Kind );
// Assign all properties
ImageEnView2.Layers[ iLayer ].Assign( ImageEnView1.Layers[ i ] );
end;
ImageEnView2.Update();
Nigel
Xequte Software
www.imageen.com