Imagick
PHP Manual

Imagick::setSize

(PECL imagick 2.0.0)

Imagick::setSizeSets the size of the Imagick object

说明

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

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


Imagick
PHP Manual