SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

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.


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.