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));
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему