Imagick::setSizeOffset

(PECL imagick 2.0.0)
Sets the size and offset of the Imagick object
bool Imagick::setSizeOffset ( int $columns, int $rows, int $offset )

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.

Parameters:
columns

The width in pixels.

rows

The height in pixels.

offset

The image offset.

Returns:

Returns TRUE on success.

doc_php
2016-02-24 16:01:26
Comments
Leave a Comment

Please login to continue.