Gmagick::cropimage
PHP function
Edit on GitHub ✎
(PECL gmagick >= Unknown)
Extracts a region of the image
Description
Gmagick::cropimage(int $width, int $height, int $x, int $y): Gmagick
Extracts a region of the image.
Parameters
widthThe width of the crop.
heightThe height of the crop.
xThe X coordinate of the cropped region's top left corner.
yThe Y coordinate of the cropped region's top left corner.
Return Values
The cropped Gmagick object.
Errors/Exceptions
Throw