Page 1 of 1

Confusion about the image stack

Posted: 2013-08-07T06:19:25-07:00
by joew
Hello,

I am somewhat confused about the concept of layers and image stack in PerlMagick. Unfortunately, I could not find any documentation that would help me clarifying this confusion.

In the convert tool, there is a stack of images maintaned, which can be manipulated with +clone, +swap, +append and so on.

in contrast, PerlMagick's new() method returns an array of images. Thus I thought, this array would represent the stack mentioned before. But this don't seem to be true, since Append() and Clone() return a new object, which is again an array of images. And there's no Swap() method at all. Do I need to manipulate the array contents by myself?