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.
Magick++ Image::magick() image format strings
Re: Magick++ Image::magick() image format strings
Type
identify -list format
to get a list of image formats and their tags.
identify -list format
to get a list of image formats and their tags.
Re: Magick++ Image::magick() image format strings
I did this and I see the list. I have two questions about the list.magick wrote:Type
identify -list format
to get a list of image formats and their tags.
The first question is the asterisk ( * ) listed after a format name. What does the asterisk mean ?
The second question regards the module name. Does the module name correspond to IM_MOD... shared libraries distributed with ImageMagick or built from ImageMagick source ? If so, there are module names in the format list which do not have any IM _MOD... equivalent in the source which I have built. Why is that ?