Page 1 of 1

Duplicating Layers

Posted: 2018-08-15T23:10:47-07:00
by mjamal
Hello Team,

Anyone can help me on duplicating the layers via image magick / imagick?
My requirement is like user will upload any image / layer and from the image magick / imagick function we will invert the layer and after inverting system will duplicate the layer and applying different photoshop effects on each layers.

Please let me know if image duplicating via Imagick "implodeImage" function is same as we are duplicating layers in photoshop see image below?
duplicateLayer.jpg
duplicateLayer.jpg (175.58 KiB) Viewed 80361 times
Please provide your valuable feedback.

Re: Duplicating Layers

Posted: 2018-08-16T01:42:34-07:00
by snibgo
I don't understand the question. At the command line, "+clone" duplicates the last image in the list image. All APIs have facilities to duplicate images. See the documentation for that API.

"Implode" is an operation that modifies an image. It replaces the image.

Re: Duplicating Layers

Posted: 2018-08-16T02:15:07-07:00
by mjamal
Hello Snibgo,

I need to do the same step as mentioned in below image via ImageMagick / Imagick functions.
download/file.php?id=155

Layers => right click => Duplicate layer

Imagick::implodeImage => Creates a new image as a copy see below link.
http://php.net/manual/en/imagick.implodeimage.php

Re: Duplicating Layers

Posted: 2018-08-16T10:36:42-07:00
by fmw42