How to command line rotate an image?

joe at actionline.com joe at actionline.com
Thu Nov 11 16:39:29 MST 2010


.
How can I use the 'convert' utility to rotate an image?

After searching the 'net for example syntax, the only thing I have been
able to find is: convert "-rotate90" filename.jpg ... which did not work.
I've tried a dozen other variations to no avail.  One variation I tried
was this: convert filename.jpg "-rotate90" and that created a file named
-rotate90 which I am now unable to remove. In fact, I cannot even list
this file with a leading "-", much less remove it.

I tried: ls -ltr *rotat* and get this error message response:

ls: invalid option -- e
Try `ls --help' for more information.

Good grief, what have I done? And how can I unscramble my mess?






More information about the PLUG-discuss mailing list