Date: Wed, 20 Sep 2000 00:52:38 +0100 From: Mark Ovens <marko@freebsd.org> To: Siegbert Baude <siegbert.baude@gmx.de> Cc: freebsd-questions@freebsd.org Subject: Re: Making thumbnail images Message-ID: <20000920005238.C257@parish> In-Reply-To: <39C78E68.C415985C@gmx.de>; from siegbert.baude@gmx.de on Tue, Sep 19, 2000 at 06:03:52PM %2B0200 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> <39C78E68.C415985C@gmx.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 19, 2000 at 06:03:52PM +0200, Siegbert Baude wrote: > 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? > No idea. Look at the URL, it isn't my script, it's Nik's :) > 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 -- 4.4 - The number of the Beastie ________________________________________________________________ 51.44°N FreeBSD - The Power To Serve http://www.freebsd.org 2.057°W My Webpage http://ukug.uk.freebsd.org/~mark mailto:marko@freebsd.org http://www.radan.com 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?20000920005238.C257>