*BSD News Article 79715


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!uwm.edu!news-peer.gsl.net!news.gsl.net!swrinde!tank.news.pipex.net!pipex!hole.news.pipex.net!pipex!atlas.co.uk!usenet
From: nik@guava.blueberry.co.uk (Nik Clayton)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Making thumbnail images under FreeBSD ?
Date: 1 Oct 1996 14:53:02 GMT
Organization: Atlas Internet
Lines: 31
Message-ID: <52rb8e$d4f@roadrunner.atlas.co.uk>
References: <529gq7$682@vixen.cso.uiuc.edu>
    <529ore$glp@hamilton.maths.tcd.ie>
    <529sul$gtn@prometheus.acsu.buffalo.edu>
    <SCOTT.96Oct1095225@crux.dcs.qmw.ac.uk>
NNTP-Posting-Host: 194.70.52.51
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.7

In article <SCOTT.96Oct1095225@crux.dcs.qmw.ac.uk>,
	scott@dcs.qmw.ac.uk (Scott Mitchell) writes:
> If you have bunch of images to do, there is always pnmindex (part of
> the netpbm port).  It creates thumbnails of a group of images and
> combines them into a single big image.  Of course you have to convert
> everything to PNM first but otherwise it works fine, and even labels
> the thumbnails.

I've been using something like the following recently, to convert a bunch
of JPEG images for a client:

    foreach i (*.jpeg)
        setenv b `basename $i .jpeg`
	djpeg -pnm $i | pnmscale -xscale .5 -yscale .5 | ppmquant -fs 64 \
		ppmtogif > ${b}.gif
    end

which turns all the JPEG files in the current directory to GIF files that 
are half the size and have 64 colours. Takes maybe 10 seconds to process
50 files, uses djpeg from the jpeg port, and p?m from the netpbm stuff.

Annoys the hell out of the Mac Photoshop users as well (File, Open, Image,
Size, - do scale -, Image, Indexed, - type 64 -, File, Save, repeat ad
nauseum).

N
-- 
--+=[ Blueberry Hill                  Blueberry New Media                ]=+--
--+=[ http://www.blueberry.co.uk/     1/9 Chelsea Harbour Design Centre, ]=+--
--+=[ WebMaster@blueberry.co.uk       London, England, SW10 0XE          ]=+--
--+=[  Somedays, I wonder why I even bother chewing through the straps.  ]ENTP