Dutch PHP Conference 2025 - Call For Papers

Gmagick::cropthumbnailimage

(PECL gmagick >= Unknown)

Gmagick::cropthumbnailimageCreates a crop thumbnail

Опис

public 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.

Параметри

width

The width of the thumbnail.

height

The Height of the thumbnail.

Значення, що повертаються

The cropped Gmagick object.

Помилки/виключення

Викидає GmagickException у разі помилки.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top