note 51798 deleted from function.imagerotate by danbrown
| From: | danbrown@php.net | Date: | Tue, 02 Dec 2008 15:01:16 +0000 |
| Subject: | note 51798 deleted from function.imagerotate by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147541@lists.php.net to get a copy of this message | ||
Note Submitter:
----
Just an advice for those who want to create image galleries and want to add a function to rotate
pictures.
The way this here works is always to decompress the picture, rotate it and compress it again.
Therefore there _WILL_ always be a loss in quality. The more often you rotate the image the stronger
the artefacts will be visible.
Also using ImageMagick, if available does not help, as it also does not support lossless JPG
manipulations.
If you need a rotate function, ask your provider to install JPEGTRAN on the machine your server runs
on and use the command line tool from your php application.