I have a large set of JPEG pictures all with the same resolution. It would take too long to open each one inside the graphical interface of imagemagic or gimp.
How do I achieve each picture being rotated and saved as the same filename?
command linegimpimagemagick
I have a large set of JPEG pictures all with the same resolution. It would take too long to open each one inside the graphical interface of imagemagic or gimp.
How do I achieve each picture being rotated and saved as the same filename?
Best Answer
You can use the
convert
command:To rotate 90 degrees clockwise:
To save the file with the same name:
To rotate all files:
Alternatively, you can also use the
mogrify
command line tools (the best tool) recommended by @don-crissti: