PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
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.