Gmagick::cropthumbnailimage
PHP function
Edit on GitHub ✎
(PECL gmagick >= Unknown)
Creates a crop thumbnail
Description
Gmagick::cropthumbnailimage(int $width, int $height): Gmagick
Creates a fixed size thumbnail by first scaling the image down and cropping a specified area from the center.
Parameters
widthThe width of the thumbnail.
heightThe Height of the thumbnail.
Return Values
The cropped Gmagick object.
Errors/Exceptions
Throw