How to command line rotate an image?

Dazed_75 lthielster at gmail.com
Thu Nov 11 16:52:40 MST 2010


convert -rotate 90 x.png x.png

from http://xahlee.org/img/imagemagic.html
and http://www.imagemagick.org/script/convert.php

On Thu, Nov 11, 2010 at 4:39 PM, <joe at actionline.com> wrote:

> .
> 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?
>
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>



-- 
Dazed_75 a.k.a. Larry

The spirit of resistance to government is so valuable on certain occasions,
that I wish it always to be kept alive.
  - Thomas Jefferson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20101111/b8c63de5/attachment.html>


More information about the PLUG-discuss mailing list