T O P I C R E V I E W |
spetric |
Posted - Jan 08 2019 : 05:34:52 Hi,
Is there any "shortcut" method that can merge all layers and replace layers content with merged result, i.e. perform merging without decreasing layers count?
TIA, Siniša
|
4 L A T E S T R E P L I E S (Newest First) |
spetric |
Posted - Jan 10 2019 : 09:18:01 Hi Nigel,
Thanks. I've done it using ieView->LayersMergeAll method and then perform a loop with ieView->LayersAdd(ieView->Layers[0]->Bitmap); to recreate layers.
|
xequte |
Posted - Jan 09 2019 : 17:36:15 Hi Sinisa
I'm afraid there is not a function for that.
You would need to use LayersSaveMergedTo/LayersDrawTo to output the layers to a TIEBitmap and then assign to the 2 other layers (or call LayersMergeAll and just add the layers again).
Nigel Xequte Software www.imageen.com
|
spetric |
Posted - Jan 09 2019 : 09:10:50 Let's say I have 3 layers: background image and 2 copies of the same image. I perform 2 image processing task on last 2 layers.
Then user blends layers (transparency). The result is merged as new background image/layer and again I need two copies of the same resulting image as 2 layers for second iteration.
I can use "standard" merge and then add 2 new layers and assign background image to them, but I thought there were some simple method to preserve layers number.
|
xequte |
Posted - Jan 08 2019 : 21:17:44 Hi Sinisa
You can use LayersSaveMergedTo to output all layers without removing them.
https://www.imageen.com/help/TImageEnView.LayersSaveMergedTo.html
But that doesn't sound like what you are looking for. Can you give me more info?
Nigel Xequte Software www.imageen.com |