gershon@cs.utah.edu (Elber Gershon) (03/03/90)
Thanks to Keith Peterson, a new version of the gif_lib library has been loaded to simtel20, directory PD:<MSDOS.GIF> and is named gif_lib.zip (old one was gif_lib.arc, which appeared in comp.binaries.ibm.pc as lib_gif.zoo few month ago...). The library is provided in a source form only (ansi c) and although its main target is the IBM-PC family, it has been succesfully compiled and tested under the followings (The old version compiled on IBM-PC only): 1. IBM-PC, using Turbo C version 2.0 2. Sun 3, with O.S. 3.5 and O.S. 4.0.3, using gcc (gnu c compiler). 3. HP workstations, running unix BSD4.3, using gcc (gnu c compiler). 4. SGI personal iris (iris4d) running IRIX 4.3, using its cc. The library has a kernel which is grouped into a special library, and which isolates all the lower compression, and gif format. It enables reading and writing gif images in the most straight forward way. The library is callable from c (obviously) and documented. Based on the library, the following utilities to mentain gif images were developed (* for new or improved): gif2X11 - Display gif images on X11 window system. (*, unix only...) gif2epsn - Print gif images on epson compatible printers. gif2herc - Display gif images on IBMPC monocrome hercules graphic card. gif2ps - Convert gif image into postscript. (*) gifasm - Assembles few gif images into one file, or disassemble them gifbg - Creates gradually changing background. gifclip - Creats a clipped gif image out of given one, to specified dimensions. gifclrmp - Handles and modifies gif color maps. gifcomb - Combines 2 gif images of exactly same size into one image. gifflip - Rotate image 90 degrees left/right or flip it along x or y. gifhisto - Creates histograms of gif images. gifinter - Convert between interlaced and non interlaced gif images. gifinto - Program to save stdin into a given file name, after completion. gifpos - Reposition images in gif file, and change its screen size. gifrsize - Resize image by integer factor up or down. (*) giftext - Print info. on gif files: sizes, color map, raw data, pixel etc. gifwedge - Creates a test gif image of white, RGB and YCM levels. (*) herc2gif - Saves monocrome hercules frame buffer as gif file (not tsr). raw2gif - Convert raw data (byte per pixel) into gif file. (*) If you use the utah raster tool kit, you will find the following two converting routines useful (you will need the rle library accessable to link to): rle2gif - convert from rle to gif image using color quantization. (*) gif2rle - convert gif image to rle one. (*) have fun! Gershon Note for unix unzip users: as unzip does not create directories on the fly (at list the version I have does not), you will need to create the following sub-directories manualy: DOC LIB UTIL PIC and BIN (make them upper case!) Elber Gershon gershon@cs.utah.edu 918 University village Salt Lake City 84108-1180 Tel: (801) 582-1807 (Home) Utah Tel: (801) 581-7888 (Work)