Confusion about the image stack

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
joew
Posts: 42
Joined: 2012-08-23T01:19:56-07:00
Authentication code: 67789

Confusion about the image stack

Post by joew » 2013-08-07T06:19:25-07:00

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?

Post Reply