Thumb Nail Images

Thomas Dowling tdowling at ohiolink.ohiolink.edu
Thu Jan 11 11:51:21 EST 1996


>----------
From:  Debora A. Orf[SMTP:dorf01 at mail.win.org]
>
>
>Its rather easy.  I did it with a windows 3.1 program called print shop pro.
>(shareware by the way....) 

I'm not familiar with PSP, but most image editing program will let 
you resize an image.  Whatever you use, though, you still need to 
open each image and run through the resizing process manually.  
Pretty tedious if you have more than a handful of images.

If you have access to a Unix machine with the PPM utilities, you 
may be able to create a script that will create thumbnails for an 
entire directory.  Read the man pages, but I think something like:

    giftoppm original.gif | pnmscale [options] | \
        ppmtogif > thumbnails/newfile.gif

(Caveat emptor: I haven't needed to do this myself, so I haven't
actually tried it.)

>
>Basically with psp you:
>1) Open gif file and convert said graphic to jpg (easier to convert colours
>in jpg) (do a save-as operation on it)
>2) Increase its colours to 16 million

I'm leery about this step.  You can't actually increase the number 
of colors in the image, and I've heard graphics gurus say that this 
can lead to inaccurate color mapping in the final image.   

Thomas Dowling




More information about the Web4lib mailing list