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 )

Sets the size and offset of the Imagick object. Set it before you read a raw image format such as RGB, GRAY, or CMYK. 此方法在Imagick基於ImageMagick 6.2.9以上版本編譯時可用。

參數

columns

The width in pixels.

rows

The height in pixels.

offset

The image offset.

回傳值

成功時回傳 TRUE

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top