note 52152 deleted from function.imagerotate by danbrown
| From: | danbrown@php.net | Date: | Tue, 02 Dec 2008 15:01:06 +0000 |
| Subject: | note 52152 deleted from function.imagerotate by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147540@lists.php.net to get a copy of this message | ||
Note Submitter: oflashp at bk dot ru
----
standart code rotate image(only Jpeg)
<?
$r=0; //rotate
$img="254.jpg" //image
$source = imagecreatefromjpeg($img);
$img = imagerotate($source, $r, 0);
imagejpeg($img);
?>