array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'imagick.getimageregion.php', 1 => 'Imagick::getImageRegion', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.getimageredprimary.php', 1 => 'Imagick::getImageRedPrimary', ), 'next' => array ( 0 => 'imagick.getimagerenderingintent.php', 1 => 'Imagick::getImageRenderingIntent', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagick/getimageregion.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL imagick 2, PECL imagick 3)
Imagick::getImageRegion — Extracts a region of the image
Extracts a region of the image and returns it as a new Imagick object.
width
The width of the extracted region.
height
The height of the extracted region.
x
X-coordinate of the top-left corner of the extracted region.
y
Y-coordinate of the top-left corner of the extracted region.
Extracts a region of the image and returns it as a new wand.
Lança uma exceção ImagickException em caso de erro.