From xemacs-m  Mon Mar 17 16:21:56 1997
Received: from corona.pixar.com (corona.pixar.com [138.72.20.84])
	by xemacs.org (8.8.5/8.8.5) with SMTP id QAA28804
	for <xemacs-beta@xemacs.org>; Mon, 17 Mar 1997 16:21:55 -0600 (CST)
Received: by corona.pixar.com (Smail3.1.29.1 #2)
	id m0w6kmQ-0001cZC; Mon, 17 Mar 97 14:21 PST
Sender: retnuh@pixar.com (Hunter Kelly)
Sender: retnuh@corona
To: xemacs-beta@xemacs.org
Subject: Re: WE NEED NEW GIF CODE...
References: <199703171912.LAA01741@newman> <rv67yq1anf.fsf@sdnp5.ucsd.edu>
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
From: Hunter Kelly <retnuh@corona.pixar.com>
Date: 17 Mar 1997 14:21:22 -0800
In-Reply-To: David Moore's message of 17 Mar 1997 13:17:08 -0800
Message-ID: <yvtendekvml.fsf@corona.pixar.com>
Lines: 56
X-Mailer: Gnus v5.4.24/XEmacs 19.15

David Moore <dmoore@ucsd.edu> writes:

Well, the Gimp, which is a free software image tweaker thing, has a
module that deals with gifs.

Here are the lines from the top of gif.c:

/* GIF loading and saving file filter for the Gimp
 *  -Peter Mattis
 *
 * This filter uses code taken from the "giftopnm" and "ppmtogif" programs
 *  which are part of the "netpbm" package.
 */

/* +-------------------------------------------------------------------+ */
/* | Copyright 1990, 1991, 1993, David Koblas.  (koblas@netcom.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 software is    | */
/* |   provided "as is" without express or implied warranty.           | */
/* +-------------------------------------------------------------------+ */


I haven't looked at the code much, but it might be useable.

Information on the Gimp is available from

	ftp://xcf.berkeley.edu/pub/gimp

There are web pages, too, but their web server seems down at the
moment.

Hunter

> "William M. Perry" <wmperry@aventail.com> writes:
> 
> > Does this crash for everyone else?  The DGIF code is giving me a headache.
> > And does anyone know of freely available GIF decoding libraries that are
> > not eligible for obfuscated C '98?
> 
> The only other ones I found /easily/ were those in xloadimage and xv,
> and they both gave me headaches too.  And I'm still not sure either is
> useful for our needs.
> 
> Our current dgif code also appears to leak memory when there are errors
> in the gif.  And this whole business about writing the gifs to a temp
> file for the decode to read them sucks.  (Note that the other gif
> libraries I've seen are written in that paradigm too).
> 
> -- 
> David Moore <dmoore@ucsd.edu>       | Computer Systems Lab      __o
> UCSD Dept. Computer Science - 0114  | Work: (619) 534-8604    _ \<,_
> La Jolla, CA 92093-0114             | Fax:  (619) 534-1445   (_)/ (_)
> <URL:http://oj.egbt.org/dmoore/>    | In a cloud bones of steel.

