Imagick::setSize

(PECL imagick 2, PECL imagick 3)

Imagick::setSizeSets the size of the Imagick object

說明

public Imagick::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.

參數(shù)

columns

rows

返回值

成功時返回 true。