-
Notifications
You must be signed in to change notification settings - Fork 171
/
pngcodec.h
34 lines (27 loc) · 978 Bytes
/
pngcodec.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
/*
* pngcodec.h : Contains function declarations for encoding decoding png images
*
* Authors:
* Sanjay Gupta (gsanjay@novell.com)
* Vladimir Vukicevic (vladimir@pobox.com)
*
* Copyright (C) Novell, Inc. 2003-2004.
*/
#ifndef _PNGCODEC_H
#define _PNGCODEC_H
#include "gdip.h"
#include "gdipImage.h"
GpStatus
gdip_load_png_image_from_file (FILE *fp, GpImage **image);
GpStatus
gdip_load_png_image_from_stream_delegate (GetBytesDelegate getBytesFunc,
SeekDelegate seeknFunc,
GpImage **image);
GpStatus
gdip_save_png_image_to_file (FILE *fp, GpImage *image, GDIPCONST EncoderParameters *params);
GpStatus
gdip_save_png_image_to_stream_delegate (PutBytesDelegate putBytesFunc,
GpImage *image, GDIPCONST EncoderParameters *params);
ImageCodecInfo *
gdip_getcodecinfo_png ();
#endif /* _PNGCODEC_H */