From owner-freebsd-questions Sun Mar 19 8: 5:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from neodymium.btinternet.com (neodymium.btinternet.com [194.73.73.83]) by hub.freebsd.org (Postfix) with ESMTP id 9FFA237BB2E for ; Sun, 19 Mar 2000 08:05:16 -0800 (PST) (envelope-from mark@ukug.uk.freebsd.org) Received: from [62.6.69.111] (helo=parish.my.domain) by neodymium.btinternet.com with esmtp (Exim 2.05 #1) id 12WiCK-0005PE-00; Sun, 19 Mar 2000 16:05:01 +0000 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id QAA01240; Sun, 19 Mar 2000 16:04:59 GMT (envelope-from mark) Date: Sun, 19 Mar 2000 16:04:58 +0000 From: Mark Ovens To: spock@mem.net Cc: freebsd-questions@freebsd.org Subject: Re: Command line image manipulation Message-ID: <20000319160458.C234@parish> References: <200003191554.JAA27054@smith.spock.mem.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200003191554.JAA27054@smith.spock.mem.net>; from spock@spock.mem.net on Sun, Mar 19, 2000 at 09:54:43AM -0600 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Mar 19, 2000 at 09:54:43AM -0600, Rev. Nostrebor N. Cire wrote: > This will do what I need, but I can't seem to find any of the programs used > in this script. Can you tell me where to find djpeg, pnmscale, ppmquantall, > and ppmtogif? > > Do you know of a program that will convert GIF, BMP or TIFF to the format > used as input to pnmscale? > Sorry, I thought that they are ports but I've just checked and they aren't, well not individual ports anyway. I suspect that they are part of some graphics port. Maybe you should email nik@freebsd.org and ask him as Nik (Clayton) as the guy who did the page I pointed you to. HTH. > % 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 > > Thanks for the info. > > Mark Ovens said: > > > On Sat, Mar 18, 2000 at 02:05:06PM -0600, Rev. Nostrebor N. Cire wrote: > > > I would like to write a CGI script to present thumbnails of all of the > > > images in an arbitrary directory, if such a program does not already > > > exist. > > > > Take a look at http://www.freebsd.org/~nik/Oxford > > > > At the bottom of that page there is details of how the thumbnails in > > the page were produced (using the command line). > > > > HTH > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Seminars, n.: From "semi" and "arse", hence, any half-assed discussion. ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message