[Wolves] Re: Image resizing

steve crozier wolves at mailman.lug.org.uk
Wed Dec 11 17:13:01 2002


hey aq

> convert won't convert multiple images into multiple images,  afaik  (yo=
u
> can  convert  multiple  images  into  *one*  image,  say  an  animation=
,
> though). So do:
>
> for f in *.pnm; do convert $f `basename $f pnm`.jpg; done

> This is completely untested, so caveat codor ;)


It works! but it needs to be "basename $f pnm `jpg; done" (without the do=
t) as=20
it generates ..jpg files

thanks

steve=20