Mass Rotate
by John Thompson <john@waste.org>
Licensed under the GNU GPL.
Quickly and losslessly rotate a bunch of JPEGs. I use it to rotate jpegs from a digital camera. Requires gtk2-perl and jpegtran from the Independent JPEG Group.
To use, run it like this:
mass_rotate.pl dir_with_images/
- or
mass_rotate.pl image1.jpg image2.jpg image3.jpg ...
- or
mass_rotate.pl dir/ img.jpg other_dir/ whatever.jpg you_get_the_idea/
It'll recursively find any jpegs in the dir or dirs you specify.
Use the nice little icons at the top, or the following keys:
n - next picture
p - previous picture
l - rotate left (counterclockwise)
r - rotate right (clockwise)
s - save rotated picture
q - quit
If you want to change the keys, or use a different max resolution, or jpegtran isn't in your path or whatever, you can edit the beginning of mass_rotate.pl. It should be pretty self-explanatory.
Debian users can 'apt-get install libjpeg-progs libgtk2-perl' to get jpegtran and gtk2-perl.
Lemme know if you have any comments or suggestions.
