Home > PHP > Function > > Imagick::rotateImage()

Imagick::rotateImage()

Imagick::rotateImage - Rotates an image

Syntax

bool Imagick::rotateImage (mixed $background, float $degrees)

Arguments

  • background - The background color
  • degrees - The number of degrees to rotate the image

Description

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

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.