The Imagick class
PHP Manual

Imagick::setSize

(PECL imagick 2.0.0)

Imagick::setSizeSets the size of the Imagick object

Description

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

This function is currently not documented; only its argument list is available.

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

Parameters

columns

rows

Return Values

Returns TRUE on success.


The Imagick class
PHP Manual