Lossless JPEG image rotation
| From: | Baumann Reto | Date: | Sun, 24 Feb 2002 15:55:14 +0000 |
| Subject: | Lossless JPEG image rotation | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-85995@lists.php.net to get a copy of this message | ||
Is there a good way to rotate a JPEG image (90°, 180° or 270°)?
I tried jpegtran and convert (ImageMagick)... But they both don't really
work as expected. Why?
jpegtran only workes if used with -trim. But this trims the image (cuts some
pixels away), which is not a very good way.
ImageMagick's convert isn't lossless :(
Any other ideas?
Thanks a lot
Reto