Gmagick::cropthumbnailimage

(PECL gmagick >= Unknown)

Gmagick::cropthumbnailimageCreates a crop thumbnail

Descrierea

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.

Parametri

width

The width of the thumbnail

height

The Height of the thumbnail

Valorile întoarse

The cropped Gmagick object

Erori/Excepții

Emite o GmagickException în caz de eroare.