Php/docs/gmagick.getimageformat
From Get docs
Gmagick::getimageformat
(PECL gmagick >= Unknown)
Gmagick::getimageformat — Returns the format of a particular image in a sequence
Description
public Gmagick::getimageformat ( ) : string
Returns the format of a particular image in a sequence.
Parameters
This function has no parameters.
Return Values
Returns a string containing the image format on success.
Errors/Exceptions
Throws an GmagickException on error.