PHP 7.0.6 Released

Imagick::getImageFormat

(PECL imagick 2.0.0)

Imagick::getImageFormatReturns the format of a particular image in a sequence

Description

string Imagick::getImageFormat ( void )

Returns the format of a particular image in a sequence.

Return Values

Returns a string containing the image format on success.

Errors/Exceptions

Throws ImagickException on error.

User Contributed Notes

orrd101 at yahoo dot com
3 years ago
Use Imagick::queryFormats() to get a list of possible format names that might be returned by this function.
To Top