On Tue, 14 Jan 2003 13:35:33 -0500 "Dr. Richard E. Hawkins" <[EMAIL PROTECTED]> wrote: �Hi,
> I need to use a digital camera to take pictures of 65 students
> to turn in to avatars for discussion boards. They need to be limited
> to 80x80, and 6144 bytes. I'm sure *something* in the graphics ports
> must be scriptable to do this, but I'm not finding it.
I'd use ImageMagick (graphics/ImageMagick)
Let's assume you have the student's jpg files in directory pics, and a
sh-esque shell:
$ cd pics
$ for i in *.jpg;do convert -antialias -scale 80x80 $i `echo $i|sed -e
's/jpg/scaled.jpg'`;done
Have a go at the man page of convert, and maybe play a bit with it as
there are other interesting parameters.
Cheers,
--
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!
msg15443/pgp00000.pgp
Description: PGP signature
