[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: resize pictures received by mailserver



On Thu, 14 Jun 2012 01:37:18 -0500, Christofer wrote in message 
<[🔎] CAOEVnYuJsMFtAQze+suzcvhjnvk48HnVjLNGOFZG5bxu-xV9PQ@mail.gmail.com>:

> > It's much simpler to do:
> >
> >  mogrify -resize '800x600<' testimage.jpg
> >
> > or to limit it to 800 in any dimension
> >
> >  mogrify -resize '800x800<' testimage.jpg
> >
> > (These commands preserve aspect ratio and only resize if image is
> > greater than the given dimensions.)  
> 
> Well, color me impressed!  I didn't know about that notation.  That
> certainly would have saved me a lot of pain with some shell scripts I
> wrote awhile back for image management!  I'll keep that in my bag of
> tricks and thank you for the tip!

..I lost you guys here; is the new trick in the bag the use 
of mogrify, or is it putting the "<" in '800x600<', inside 
the single quotes, typo style like?????

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


Reply to: