Functions | |
| void | buf_free (struct binbuffer *buf) |
| int | buf_extend (struct binbuffer *buf, size_t length) |
| int | buf_copy (struct binbuffer *src, struct binbuffer *dst, size_t length) |
| unsigned char | buf_getbyte (struct binbuffer *src, size_t offset) |
| int | gif_skip_data_block (struct binbuffer *buf) |
| int | gif_extract_image (struct binbuffer *src, struct binbuffer *dst) |
| int | gif_deanimate (struct binbuffer *src, struct binbuffer *dst, int get_first_image) |
Variables | |
| const char | deanimate_rcs [] = "$Id: deanimate.c,v 2.0 2002/06/04 14:34:21 jongfoster Exp $" |
| const char | deanimate_h_rcs [] = DEANIMATE_H_VERSION |
Functions declared include: gif_deanimate, buf_free, buf_copy, buf_getbyte, gif_skip_data_block, and gif_extract_image
Revision 1.12 2002/05/12 21:36:29 jongfoster Correcting function comments
Revision 1.11 2002/03/26 22:29:54 swa we have a new homepage!
Revision 1.10 2002/03/24 13:25:43 swa name change related issues
Revision 1.9 2002/03/13 00:27:04 jongfoster Killing warnings
Revision 1.8 2002/03/09 19:42:47 jongfoster Fixing more warnings
Revision 1.7 2002/03/08 17:46:04 jongfoster Fixing int/size_t warnings
Revision 1.6 2002/03/07 03:46:17 oes Fixed compiler warnings
Revision 1.5 2001/09/10 10:16:06 oes Silenced compiler warnings
Revision 1.4 2001/07/18 12:28:49 oes
Revision 1.2 2001/07/13 13:46:20 oes Introduced GIF deanimation feature
|
||||||||||||||||
|
Safely copies a given amount of bytes from one struct binbuffer to another, advancing the offsets appropriately.
|
|
||||||||||||
|
Ensure that a given binbuffer can hold a given amount of bytes, by reallocating its buffer if necessary. Allocate new mem in chunks of 1024 bytes, so we don't have to realloc() too often.
|
|
|
Safely frees a struct binbuffer.
|
|
||||||||||||
|
Safely gets a byte from a given binbuffer at a given offset.
|
|
||||||||||||||||
|
Deanimate a given GIF image, i.e. given a GIF with an (optional) image block and an arbitrary number of image extension blocks, produce an output GIF with only one image block that contains the last image (extenstion) block of the original. Also strip Comments, Application extenstions, etc.
|
|
||||||||||||
|
Safely extracts an image data block from a given struct binbuffer that contains a GIF image and whose offset is positioned at the start of a data block into a given destination binbuffer.
|
|
|
Safely advances the offset of a given struct binbuffer that contains a GIF image and whose offset is positioned at the start of a data block, behind that block.
|
|
|
Version information about deanimate.h.
|
|
|
Version information about deanimate.c.
|
1.2.15