.\" "@(#)read_gif.txt 1.1 Stardent 90/06/25" .\" Copyright (c) 1989 by .\" Stardent Computer Inc. .\" All Rights Reserved .\" .\" NAME: read_gif AUTHOR INFO: Larry Gelberg, Stardent Computer, 617-964-1000 SOURCE FILE: read_gif.c TYPE: data INPUTS: None OUTPUTS: field 2D uniform 4-vector byte (color image) PARAMETERS: Name Type Read GIF Browser COPYRIGHT NOTICE: read_gif.c - based strongly on... gif2ras.c - Converts from a Compuserve GIF (tm) image to a Sun Raster image. Copyright (c) 1988, 1989 by Patrick J. Naughton Author: Patrick J. Naughton naughton@wind.sun.com Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. This file is provided AS IS with no warranties of any kind. The author shall have no liability with respect to the infringement of copyrights, trade secrets or any patents by this file or any part thereof. In no event will the author be liable for any lost revenue or profits or other special, indirect and consequential damages. DESCRIPTION: This module reads a GIF format file and creates a 32-bit ARGB image in the AVS "field 2D 4-vector byte" format. If the GIF file has an embedded color-map, that is used, otherwise, it creates a linear grey-scale ramp. LIMITATIONS: It is not fast and has not been tested on a wide range of GIF file types.