编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Gmagick::rollimage
  • Gmagick::scaleimage »
  • PHP Manual
  • Gmagick
  • Rotates an image

Gmagick::rotateimage

(PECL gmagick >= Unknown)

Gmagick::rotateimage — Rotates an image

说明

public Gmagick::rotateimage ( mixed $color , float $degrees ) : Gmagick

Rotates an image the specified number of degrees. Empty triangles left over from rotating the image are filled with the background color.

参数

color

The background pixel.

degrees

The number of degrees to rotate the image.

返回值

The Gmagick object on success

错误/异常

错误时抛出 GmagickException。

相关文章
php gmagick annotates an image with textphp gmagick adds blur filter to imagephp gmagick returns the image border colorphp gmagick gets the depth for a particular image channelphp gmagick gets the image interlace schemephp gmagick gets the image iterationsphp gmagick check if the image has a matte channelphp gmagick creates a new imagephp gmagick moves to the next imagephp gmagick enhances the contrast of a color imagephp gmagick smooths the contours of an imagephp gmagick removes an image from the image listphp gmagick rotates an imagephp gmagick sets the depth of a particular image channelphp gmagick sets the image colorspacephp gmagick sets the image composite operatorphp gmagick sets the image resolutionphp gmagick sets the image scenephp gmagick sets the image typephp gmagick writes an image to the specified filename
关注编程学问公众号
编程学问网 湘ICP备20001732号