编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Imagick::setSamplingFactors
  • Imagick::setSizeOffset »
  • PHP Manual
  • Imagick
  • Sets the size of the Imagick object

Imagick::setSize

(PECL imagick 2.0.0)

Imagick::setSize — Sets the size of the Imagick object

说明

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

返回值

成功时返回 TRUE。

相关文章
php gmagick sets the size of the gmagick objectphp imagick makes an exact copy of the imagick objectphp imagick returns the size associated with the imagick objectphp imagick sets the object s default background colorphp imagick sets the object s default compression typephp imagick sets the object s default compression qualityphp imagick sets the format of the imagick objectphp imagick sets the gravityphp imagick replaces image in the objectphp imagick sets the image delayphp imagick sets the image sizephp imagick sets the image opacity levelphp imagick sets the image orientationphp imagick sets the imagick iterator to the last imagephp imagick sets the page geometry of the imagick objectphp imagick sets point sizephp imagick sets the size of the imagick objectphp imagick sets the size and offset of the imagick objectphp imagick changes the size of an imagephp imagickdraw sets the pattern used for stroking object outlines
关注编程学问公众号
编程学问网 湘ICP备20001732号