Date: Tue, 19 Sep 2000 18:03:52 +0200 From: Siegbert Baude <siegbert.baude@gmx.de> To: Mark Ovens <marko@freebsd.org> Cc: freebsd-questions@freebsd.org Subject: Re: Making thumbnail images Message-ID: <39C78E68.C415985C@gmx.de> References: <39BC0225.520792D6@wiegand.org> <20000910220540.0E43D137@woodstock.monkey.net> <20000911000556.B255@parish> <20000911004241.N77593@strontium.scientia.demon.co.uk> <39BC30A9.7F9DC536@wiegand.org> <20000911201122.B254@parish>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Ovens wrote: > For an example of how simple the programming for this is take a look > at the bottom of http://people.freebsd.org/~nik/Oxford/ OK, I know > it's a csh(1) script, but converting it to sh(1) should be easy > enough. % foreach i (*.jpeg) foreach? setenv b `basename $i .jpeg` foreach? djpeg -pnm $i | pnmscale -width 150 > ${b}.ppm foreach? end % ppmquantall 128 *.ppm % foreach i (*.ppm) foreach? ppmtogif -interlace $i > ${b}.gif foreach? end ... % rm *.ppm Is there any special reason, why you chose GIF in the end for the thumbnails? Normally photos should have better quality if saved as JPGs, shouldn't they?. Color control to stay within the same 128 choosen before? Never tried this with JPGs before, is it impossible there? Just curious and for sure OT ;-) Ciao Siegbert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39C78E68.C415985C>