The Imagick class
PHP Manual

Imagick::setSizeOffset

(PECL imagick 2.0.0)

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

说明

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

本函数还未编写文档,仅有参数列表。

Sets the size and offset of the Imagick object. Set it before you read a raw image format such as RGB, GRAY, or CMYK. This method is available if Imagick has been compiled against ImageMagick version 6.2.9 or newer.

参数

columns

The width in pixels.

rows

The height in pixels.

offset

The image offset.

返回值

Returns TRUE on success.


The Imagick class
PHP Manual