array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'imagick.cropthumbnailimage.php', 1 => 'Imagick::cropThumbnailImage', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.cropimage.php', 1 => 'Imagick::cropImage', ), 'next' => array ( 0 => 'imagick.current.php', 1 => 'Imagick::current', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagick/cropthumbnailimage.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL imagick 2, PECL imagick 3)
Imagick::cropThumbnailImage — Creates a crop thumbnail
Creates a fixed size thumbnail by first scaling the image up or down and cropping a specified area from the center.
width
The width of the thumbnail
height
The Height of the thumbnail
Returns true
on success.
Throws ImagickException on error.