Page 1 of 1

Posted: 2006-03-09T12:21:06-07:00
by magick
To identify each image in the list you must iterate over the list. Something like:

Code: Select all

for (next=image; next != (Image *) NULL; next=GetNextImageInList(next))
  IdentifyImage(next,...);

Posted: 2006-03-10T11:36:28-07:00
by magick
ImageMagick tries to determine what file format an image is in but can't always succeed. If the magic number does not confirm its format it tries to use the file extension (.ico means the image is in the ICO format). You can always force a format. For example,
  • ico:image.dat
tells ImageMagick the image format is ICO.