image_rotate
includes/image.inc, строка 155
- Версии
- 5
image_rotate($source, $destination, $degrees)
- 6
image_rotate($source, $destination, $degrees, $background = 0x000000)
Rotate an image by the given number of degrees.
Параметры
$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
Код
<?php
function image_rotate($source, $destination, $degrees) {
return image_toolkit_invoke('rotate', array($source, $destination, $degrees));
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии