Saturday, June 18, 2011

Rotating Multiple Images

I had 140 images that needed to be rotated, batch style. I didn't want to rotate them one by one. I used Imagemagick to rotate them via the command line. You could also use the Nautilus Image Converter which adds Resize and Rotate Images to the context menu of images.

Install Imagemagick:
sudo apt-get install imagemagick
Rotate 90 degrees (files will be overwritten!):
mogrify -rotate 90 *.jpg
If you don't want the original files overwritten, use convert instead:
convert -rotate 90 *.jpg
Alternately, install the Nautilus Image Converter.
sudo apt-get install nautilus-image-converter
Log out / in or restart for the context menu items to show up in Nautilus. Select all the images you want to rotate, right-click and select Rotate Images.


Change the settings and rotate!

No comments:

Post a Comment