(PECL imagick 2, PECL imagick 3)
Imagick::setSizeOffset — Sets the size and offset of the Imagick object
$columns
, int $rows
, int $offset
): boolSets 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.