function image_rotate in Drupal 4
Same name and namespace in other branches
- 5 includes/image.inc \image_rotate()
- 6 includes/image.inc \image_rotate()
- 7 includes/image.inc \image_rotate()
Rotate an image by the given number of degrees.
Parameters
$source The filepath of the source image:
$destination The file path of the destination image:
$degrees The number of (clockwise) degrees to rotate the image:
File
- includes/
image.inc, line 164
Code
function image_rotate($source, $destination, $degrees) {
return image_toolkit_invoke('rotate', array(
$source,
$destination,
$degrees,
));
}