Imagick::getImageRegion
(PECL imagick 2, PECL imagick 3)
Imagick::getImageRegion — Extracts a region of the image
Description
Extracts a region of the image and returns it as a new Imagick object.
Parameters
widthThe width of the extracted region.
heightThe height of the extracted region.
xX-coordinate of the top-left corner of the extracted region.
yY-coordinate of the top-left corner of the extracted region.
Return Values
Extracts a region of the image and returns it as a new wand.
Errors/Exceptions
Throws ImagickException on error.
↑ and ↓ to navigate • Enter to select • Esc to close • / to open