note 103171 added to function.imagick-rotateimage
| From: | BaptisteVALTHIER at osu1 dot php dot net | Date: | Tue, 29 Mar 2011 21:05:50 +0000 |
| Subject: | note 103171 added to function.imagick-rotateimage | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-178326@lists.php.net to get a copy of this message | ||
You can rotate an jpg image by -13.55° into a transparent png image with :
$imagick = new Imagick();
$imagick->readImage('my.jpg');
$imagick->rotateImage(new ImagickPixel('none'), -13.55);
$imagick->writeImage('my_rotated.png');
$imagick->clear();
$imagick->destroy();
----
Server IP: 195.221.21.36
Probable Submitter: 2a01:e35:2ee7:200:208:d3ff:fe82:25fd
----
Manual Page -- http://www.php.net/manual/en/function.imagick-rotateimage.php
Edit -- https://master.php.net/note/edit/103171
Del: integrated -- https://master.php.net/note/delete/103171/integrated
Del: useless -- https://master.php.net/note/delete/103171/useless
Del: bad code -- https://master.php.net/note/delete/103171/bad+code
Del: spam -- https://master.php.net/note/delete/103171/spam
Del: non-english -- https://master.php.net/note/delete/103171/non-english
Del: in docs -- https://master.php.net/note/delete/103171/in+docs
Del: other reasons-- https://master.php.net/note/delete/103171
Reject -- https://master.php.net/note/reject/103171
Search -- https://master.php.net/manage/user-notes.php