php8.5
Home/ Manual/ gmagick / gmagick/ Gmagick::cropthumbnailimage

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

width

The width of the thumbnail.

height

The Height of the thumbnail.

Return Values

The cropped Gmagick object.

Errors/Exceptions

Throw

Source: reference/gmagick/gmagick/cropthumbnailimage.xml · from the official PHP manual (php/doc-en)