note 76494 deleted from function.imagick-rotateimage by thiago
| From: | thiago@php.net | Date: | Mon, 24 Nov 2008 11:44:00 +0000 |
| Subject: | note 76494 deleted from function.imagick-rotateimage by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-146866@lists.php.net to get a copy of this message | ||
Note Submitter: peter dot rekdal dot sunde at vg dot no
----
If you want to rotate an image by a certain degree you can do this:
header('content-type: image/jpeg');
$imagick = new Imagick();
$imagick->readImage('castle.jpg');
$imagick->rotateImage(new ImagickPixel(), 90);
print $image->getImage();