Imagick::setSizeOffset
(PECL imagick 2, PECL imagick 3)
Imagick::setSizeOffset — Sets the size and offset of the Imagick object
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.
Parameters
columns
The width in pixels.
rows
The height in pixels.
offset
The image offset.
Return Values
Returns true on success.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
