编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Imagick::setImageDispose
  • Imagick::setImageFilename »
  • PHP Manual
  • Imagick
  • Sets the image size

Imagick::setImageExtent

(PECL imagick 2.0.0)

Imagick::setImageExtent — Sets the image size

说明

Imagick::setImageExtent ( int $columns , int $rows ) : bool

Sets the image size (i.e. columns & rows).

参数

columns

rows

返回值

成功时返回 TRUE。

错误/异常

错误时抛出 ImagickException。

相关文章
php imagick scales the size of an imagephp imagick sets image alpha channelphp imagick sets the image background colorphp imagick sets the image bias for any method that convolves an imagephp imagick sets the image delayphp imagick sets the image depthphp imagick sets the image disposal methodphp imagick sets the image sizephp imagick sets the filename of a particular imagephp imagick sets the image opacity levelphp imagick sets the image orientationphp imagick sets the page geometry of the imagephp imagick sets an image propertyphp imagick sets the image chromaticity red primary pointphp imagick sets the image rendering intentphp imagick sets the imagick iterator to the last imagephp imagick sets point sizephp imagick sets the image resolutionphp imagick changes the size of an imagephp imagick convenience method for setting crop size and the image geometry
关注编程学问公众号
编程学问网 湘ICP备20001732号