Gmagick::setimagetype
PHP function
Edit on GitHub ✎
(PECL gmagick >= Unknown)
Sets the image type
Description
Gmagick::setimagetype(int $imgType): Gmagick
Sets the image type.
Parameters
imgTypeOne of the Image type constant (
Gmagick::IMGTYPE_*).
Return Values
The Gmagick object.
Errors/Exceptions
Throw