1 #ifndef DEANIMATE_H_INCLUDED
2 #define DEANIMATE_H_INCLUDED
3 /*********************************************************************
5 * File : $Source: /cvsroot/ijbswa/current/deanimate.h,v $
7 * Purpose : Declares functions to manipulate binary images on the
8 * fly. High-level functions include:
9 * - Deanimation of GIF images
11 * Functions declared include: gif_deanimate and buf_free.
14 * Copyright : Written by and Copyright (C) 2001 - 2004 by the the
15 * SourceForge Privoxy team. http://www.privoxy.org/
17 * Based on ideas from the Image::DeAnim Perl module by
18 * Ken MacFarlane, <ksm+cpan@universal.dca.net>
20 * Based on the Internet Junkbuster originally written
21 * by and Copyright (C) 1997 Anonymous Coders and
22 * Junkbusters Corporation. http://www.junkbusters.com
24 * This program is free software; you can redistribute it
25 * and/or modify it under the terms of the GNU General
26 * Public License as published by the Free Software
27 * Foundation; either version 2 of the License, or (at
28 * your option) any later version.
30 * This program is distributed in the hope that it will
31 * be useful, but WITHOUT ANY WARRANTY; without even the
32 * implied warranty of MERCHANTABILITY or FITNESS FOR A
33 * PARTICULAR PURPOSE. See the GNU General Public
34 * License for more details.
36 * The GNU General Public License should be included with
37 * this file. If not, you can view it at
38 * http://www.gnu.org/copyleft/gpl.html
39 * or write to the Free Software Foundation, Inc., 59
40 * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
42 *********************************************************************/
46 * A struct that holds a buffer, a read/write offset,
47 * and the buffer's capacity.
59 extern int gif_deanimate(struct binbuffer *src, struct binbuffer *dst, int get_first_image);
60 extern void buf_free(struct binbuffer *buf);
63 #endif /* ndef DEANIMATE_H_INCLUDED */