Imagick::setSize

(PECL imagick 2, PECL imagick 3)

Imagick::setSizeSets the size of the Imagick object

说明

publicImagick::setSize(int$columns, int$rows): bool

Sets the size of the Imagick object. Set it before you read a raw image format such as RGB, GRAY, or CMYK.

参数

columns

rows

返回值

成功时返回 true

To Top