Php/docs/imagick.getformat
From Get docs
Imagick::getFormat
(PECL imagick 2, PECL imagick 3)
Imagick::getFormat — Returns the format of the Imagick object
Description
public Imagick::getFormat ( ) : string
Returns the format of the Imagick object.
Return Values
Returns the format of the image.
Errors/Exceptions
Throws ImagickException on error.