PDA

View Full Version : Lossless cropping and rotation of JPEGs


Endolith
October 15th, 2007, 08:48 PM
I want to do lossless cropping and rotation of JPEGs with a graphical editor. What do people use for this? gThumb seems to do lossless rotation, but it requires like 6 clicks per image. Are there any better solutions that also do lossless cropping?

This list might help:

http://jpegclub.org/losslessapps.html

rsambuca
October 15th, 2007, 09:21 PM
I have never heard of lossless jpeg cropping. Is there such a thing?

Endolith
October 15th, 2007, 09:46 PM
I have never heard of lossless jpeg cropping. Is there such a thing?

Yep. To an 8 pixel granularity.

JPEGs are just a mosaic of 8x8 pixel discrete cosine transforms. ;-) You can throw away some of those 8x8 blocks without losing information from the rest of the image.

Endolith
October 15th, 2007, 11:09 PM
I think this might do it?

http://pcernoch.wz.cz/PhotoViewer/index.html

But I uh.... can't read that to find out.

rsambuca
October 16th, 2007, 12:11 AM
Try Google Translate (http://www.google.com/translate_t).

Endolith
October 16th, 2007, 12:15 AM
Try Google Translate (http://www.google.com/translate_t).

Doesn't have that language.

Endolith
October 16th, 2007, 11:58 PM
No ideas?


It seems like command-line jpegtran is my only option, and I'm having trouble thinking of a stupider way to crop images than the command line. Certainly there are front-ends for it?

kswenson
November 16th, 2007, 09:49 AM
Note that you can chooose a bunch of pictures in gthumb and rotate them all at once.