编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 sets the image bias for any method that convolves an imagephp imagick sets the image chromaticity blue primary pointphp imagick sets the image border colorphp imagick sets the depth of a particular image channelphp imagick sets image clip maskphp imagick sets the image sizephp imagick sets the image gammaphp imagick sets the image gravityphp imagick sets the image chromaticity green primary pointphp imagick sets the image compressionphp imagick sets the image rendering intentphp imagick sets the image resolutionphp imagick sets the image scenephp imagick sets the image ticks per secondphp imagick sets the image typephp imagick sets the image units of resolutionphp imagick sets the image resolutionphp imagick sets the image sampling factorsphp imagick sets the size of the imagick objectphp imagick sets the size and offset of the imagick object
关注编程学问公众号
编程学问网 湘ICP备20001732号