编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Imagick::setImageGamma
  • Imagick::setImageGreenPrimary »
  • PHP Manual
  • Imagick
  • Sets the image gravity

Imagick::setImageGravity

(No version information available, might only be in Git)

Imagick::setImageGravity — Sets the image gravity

说明

Imagick::setImageGravity ( int $gravity ) : bool

Sets the gravity property for the current image. This method can be used to set the gravity property for a single image sequence. 此方法在Imagick基于ImageMagick 6.4.4以上版本编译时可用。

参数

gravity

The gravity property. Refer to the list of gravity constants.

返回值

没有返回值。

相关文章
php imagick gets the image gravityphp imagick sets the gravityphp imagick sets image alpha channelphp imagick sets the image background colorphp imagick sets the image composite operatorphp 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 gravityphp imagick sets the image matte channelphp imagick sets the image matte colorphp 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 compressionphp imagick sets the imagick iterator to the last image
关注编程学问公众号
编程学问网 湘ICP备20001732号