1 | /*------------------------------------------*/␍␊ |
2 | /* PNGFILE.H -- Header File for pngfile.c*/␍␊ |
3 | /*------------------------------------------*/␍␊ |
4 | ␍␊ |
5 | /* Copyright 2000, Willem van Schaik.*/␍␊ |
6 | ␍␊ |
7 | /* This code is released under the libpng license.*/␍␊ |
8 | /* For conditions of distribution and use, see the disclaimer*/␍␊ |
9 | /* and license in png.h*/␍␊ |
10 | ␍␊ |
11 | ␍␊ |
12 | bool PngLoadImage (const char* pstrFileName, unsigned char **ppbImageData,␍␊ |
13 | int *piWidth, int *piHeight, int *piChannels, void *BkgColor);␍␊ |
14 | ␍␊ |
15 | ␍␊ |
16 | ␍␊ |
17 | bool PngLoadData(unsigned char *pngData, int pngSize, int *piWidth,␍␊ |
18 | int *piHeight, unsigned char **ppbImageData, int *piChannels, void *BkgColor);␍␊ |
19 | ␍␊ |
20 | |