[magick-users] PingImage and GetImageListLength

Wilbert Dijkhof wilbertdijkhof at gmail.com
Fri May 2 13:48:46 PDT 2008


Hello,

I have a mng file (which consists of one image):

http://www.geocities.com/wilbertdijkhof/collage-lc-d63.mng

If I request the number of images of the file:

images = PingImage(image_info, exception);
GetImageListLength(images);

it returns 40 images. Of course my program crashes
when reading the second image from the list, because
it contains only one.

When I use ReadImage instead of PingImage,
GetImageListLength is 1 as it should.

This seems the only file i tested with this problem.
Perhaps a bug in PingImage?

Regards,

Wilbert


More information about the Magick-users mailing list