(PECL imagick 2, PECL imagick 3)
Imagick::setSize — Sets 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.
columns
rows
Returns true
on success.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/imagick.setsize.php