编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 returns the size associated with the gmagick objectphp gmagick sets the size of the gmagick objectphp imagick gets the object compression qualityphp imagick returns the size associated with the imagick objectphp imagick checks if the object has a previous imagephp imagick scales an image proportionally to half its sizephp 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 filename before you read or write the imagephp imagick sets the format of the imagick objectphp imagick sets image clip maskphp imagick sets the image sizephp imagick sets the image compressionphp imagick sets the image units of resolutionphp 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 sets the image type attribute
关注编程学问公众号
编程学问网 湘ICP备20001732号