/
gifcodec.h
39 lines (29 loc) · 1.12 KB
/
gifcodec.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* gifcodec.h : Contains function declarations for encoding decoding gif images
*
* Authors:
* Sanjay Gupta (gsanjay@novell.com)
* Vladimir Vukicevic (vladimir@pobox.com)
*
* Copyright (C) 2003-2004, 2007 Novell, Inc (http://www.novell.com)
*/
#ifndef _GIFCODEC_H
#define _GIFCODEC_H
#include "bitmap-private.h"
#include "bmpcodec.h"
GpStatus gdip_load_gif_image_from_file (FILE *fp, GpImage **image) GDIP_INTERNAL;
GpStatus gdip_load_gif_image_from_stream_delegate (GetBytesDelegate getBytesFunc, SeekDelegate seekFunc,
GpImage **image) GDIP_INTERNAL;
GpStatus gdip_save_gif_image_to_file (unsigned char *filename, GpImage *image) GDIP_INTERNAL;
GpStatus gdip_save_gif_image_to_stream_delegate (PutBytesDelegate putBytesFunc, GpImage *image,
GDIPCONST EncoderParameters *params) GDIP_INTERNAL;
ImageCodecInfo *gdip_getcodecinfo_gif () GDIP_INTERNAL;
GpStatus gdip_fill_encoder_parameter_list_gif (EncoderParameters *buffer, UINT size) GDIP_INTERNAL;
typedef struct
{
UINT count;
EncoderParameter imageItems;
EncoderParameter saveFlag;
LONG saveFlagValue;
} GifEncoderParameters;
#endif /* _GIFCODEC_H */