Magick++ Image::magick() image format strings
Posted: 2007-09-28T14:36:07-07:00
I am using Magick++ and need to determine if an image is of a certain kind. I noticed the Image::magick() function which returns a string indicating the image type for a particular image. What are the possible strings which could be returned and what is the image type for each of these strings ?
I need to check whether my image is a Jpeg image, so I am guessing that the returned string for a Jpeg image would be "JPG" or "JPEG" but it sure would be nice to know what all of the possible returned strings are.
I need to check whether my image is a Jpeg image, so I am guessing that the returned string for a Jpeg image would be "JPG" or "JPEG" but it sure would be nice to know what all of the possible returned strings are.