[ale] Syntax for resizing photos

Michael Hirsch mhirsch at nubridges.com
Tue Jan 11 14:17:11 EST 2005



> -----Original Message-----
> From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
David
> Corbin
> Sent: Monday, January 10, 2005 10:13 PM
> To: ale at ale.org
> Subject: Re: [ale] Syntax for resizing photos
> 
> On Monday 10 January 2005 06:42, Geoffrey wrote:
> > Christopher Fowler wrote:
> > > mkdir smaller
> > > for i in *.jpg
> > > do
> > >   convert -resize 640x480 ${i} smaller/${i}
> > > done
> >
> > Or, if you don't care about retaining the original images:
> >
> > for i in *.jpg
> > do
> >    convert -resize 640x480 ${i} ${i}
> > done
> 
> How about to resize it "20% larger", no matter what size it is now?

convert -geometry "120%" file1 file2

Michael





More information about the Ale mailing list