Imagick::setSizeOffset()
Imagick::setSizeOffset - Sets the size and offset of the Imagick object
Syntax
bool Imagick::setSizeOffset (
int $columns,
int $rows,
int $offset)
Arguments
- columns - The width in pixels.
- rows - The height in pixels.
- offset - The image offset.
Description
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.
Version
PHP PECL imagick 2.0.0
Return value
Returns TRUE on success.