Use Imagick::queryFormats() to get a list of possible format names that might be returned by this function.
(PECL imagick 2, PECL imagick 3)
Imagick::getImageFormat — Returns the format of a particular image in a sequence
Returns the format of a particular image in a sequence.
This function has no parameters.
Returns a string containing the image format on success.
Throws ImagickException on error.
Use Imagick::queryFormats() to get a list of possible format names that might be returned by this function.