Gmagick::setsize

(PECL gmagick >= Unknown)

Gmagick::setsizeSets the size of the Gmagick object

说锟斤拷

public Gmagick::setsize ( int $columns , int $rows ) : Gmagick

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锟斤拷