note 69668 added to function.imagerotate
| From: | m dot quinton at gmail dot com | Date: | Thu, 14 Sep 2006 16:30:34 +0000 |
| Subject: | note 69668 added to function.imagerotate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-117162@lists.php.net to get a copy of this message | ||
with large file, where imagerotate is missing, you can use, when possible "convert"
command from ImageMagick. Here is a sample script.
<?php
error_reporting(E_ALL);
header("Content-type: image/png");
$file = 'images/test/imgp2498.jpg';
image_rotate_with_convert($file, 90);
function image_rotate_with_convert($file, $angle){
passthru("convert -rotate $angle $file -");
}
?>
----
Server IP: 66.163.161.117
Probable Submitter: 82.234.62.122
----
Manual Page -- http://www.php.net/manual/en/function.imagerotate.php
Edit -- https://master.php.net/note/edit/69668
Del: integrated -- https://master.php.net/note/delete/69668/integrated
Del: useless -- https://master.php.net/note/delete/69668/useless
Del: bad code -- https://master.php.net/note/delete/69668/bad+code
Del: spam -- https://master.php.net/note/delete/69668/spam
Del: non-english -- https://master.php.net/note/delete/69668/non-english
Del: in docs -- https://master.php.net/note/delete/69668/in+docs
Del: other reasons-- https://master.php.net/note/delete/69668
Reject -- https://master.php.net/note/reject/69668
Search -- https://master.php.net/manage/user-notes.php