编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 gets the object compression typephp imagick returns the size associated with the imagick objectphp imagick checks if the object has more imagesphp 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 image border colorphp imagick sets the depth of a particular image channelphp imagick sets the image sizephp imagick sets the image chromaticity green primary pointphp imagick sets the image ticks per secondphp imagick sets the image typephp 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 imagickdraw sets the color used for stroking object outlinesphp oci lob returns size of large object
关注编程学问公众号
编程学问网 湘ICP备20001732号