Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Lossless rotation of JPG images and thumbnails' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Lossless rotation of JPG images and thumbnails
Authored by: jwz on Apr 25, '08 11:39:00AM
If you're looking for a cross-platform, command-line way to losslessly rotate jpegs and their thumbnails, there's my "rotimg" perl script: http://www.jwz.org/hacks/rotimg

[ Reply to This | # ]
Lossless rotation of JPG images and thumbnails
Authored by: leamanc on Apr 25, '08 06:20:26PM
I tried your script out and it threw up a whole slew of errors, but started with this:
Can't locate Image/ExifTool.pm
This is Intel 10.5.2 with Developer Tools installed. Should something else be installed to make this work?

[ Reply to This | # ]
Lossless rotation of JPG images and thumbnails
Authored by: MtnBiker on Oct 28, '09 09:51:28PM

I know almost nothing about Perl but you might try adding this as the second line to the script:

BEGIN { unshift @INC, "/usr/bin/lib/" }

You may need to install EXIF Tools http://www.sno.phy.queensu.ca/~phil/exiftool/

I have a script that worked in Leopard and it quit working in Snow Leopard. I suspect some things have moved. I found the missing files in the location in the added line. And based on some answers to similar problem found via Google.

---
Hermosa Beach, CA USA



[ Reply to This | # ]