©
本文檔使用 php中文網手册 發布
(PECL gmagick >= Unknown)
Gmagick::setsize — Sets the size of the Gmagick object
$columns
, int $rows
)Sets the size of the Gmagick object. Set it before you read a raw image format such as RGB, GRAY, or CMYK.
columns
The width in pixels.
rows
The height in pixels.
The Gmagick object on success.
错误时抛出 GmagickException。