Files write to wrong place

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
User avatar
magick
Site Admin
Posts: 11161
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

You are trying to write 2 images to image.png. Since PNG only supports one image per file, ImageMagick automatically adds the frame number to the file name to produce image-0.png and image-1.png.

User avatar
magick
Site Admin
Posts: 11161
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Notice your code has Read() and ReadImage() statements. That's the two images you are trying to write.

Post Reply