From owner-freebsd-questions Tue Sep 19 9:20:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rz.uni-ulm.de (sirius-giga.rz.uni-ulm.de [134.60.241.36]) by hub.freebsd.org (Postfix) with ESMTP id 3248537B423; Tue, 19 Sep 2000 09:20:28 -0700 (PDT) Received: from gmx.de (lilith.wohnheim.uni-ulm.de [134.60.106.64]) by mail.rz.uni-ulm.de (8.9.3/8.9.3) with ESMTP id SAA11530; Tue, 19 Sep 2000 18:03:53 +0200 (MEST) Message-ID: <39C78E68.C415985C@gmx.de> Date: Tue, 19 Sep 2000 18:03:52 +0200 From: Siegbert Baude X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.1-STABLE i386) X-Accept-Language: de, en MIME-Version: 1.0 To: Mark Ovens Cc: freebsd-questions@freebsd.org Subject: Re: Making thumbnail images 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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