The Imagick class
PHP Manual

Imagick::setSizeOffset

(PECL imagick 2.0.0)

Imagick::setSizeOffsetSets the size and offset of the Imagick object

Descrierea

bool Imagick::setSizeOffset ( int $columns , int $rows , int $offset )
Avertizare

Această funcție nu este documentată în prezent; este disponibilă numai lista sa de argumente.

Sets the size and offset of the Imagick object. Set it before you read a raw image format such as RGB, GRAY, or CMYK. Această metodă este disponibilă dacă Imagick a fost compilat cu ImageMagick de versiunea 6.2.9 sau ulterior.

Parametri

columns

The width in pixels.

rows

The height in pixels.

offset

The image offset.

Valorile întoarse

Întoarce TRUE în caz de succes.


The Imagick class
PHP Manual