Imagick::setSize
(PECL imagick 2, PECL imagick 3)
Imagick::setSize — Sets the size of the Imagick object
说明
public Imagick::setSize
( int
$columns
, int $rows
) : boolSets the size of the Imagick object. Set it before you read a raw image format such as RGB, GRAY, or CMYK.
参数
-
columns
-
-
rows
-
返回值
成功时返回 true
。