I'd like to rotate a series of images by 180 degrees clockwise from the command-line in a way I can write into a shell script to make things faster and more convenient. Is this possible?

marked as duplicate by don_crissti, RomanPerekhrest, Stephen Rauch, Jeff Schaller, sebasth Oct 3 '17 at 16:15

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


You can use ImageMagic tool convert:

convert foto.jpg -rotate 180 newfoto.jpg

Howto was taken from here:


Not the answer you're looking for? Browse other questions tagged or ask your own question.