Debian Codegraph @

tools/kpng.h

raw
1 /* Copyright (C) 2008 Vincent Penquerc'h.
2 This file is part of the Kate codec library.
3 Written by Vincent Penquerc'h.
4
5 Use, distribution and reproduction of this library is governed
6 by a BSD style source license included with this source in the
7 file 'COPYING'. Please read these terms before distributing. */
8
9
10 #ifndef KATE_kpng_h_GUARD
11 #define KATE_kpng_h_GUARD
12
13 extern int kd_read_png8(const char *filename,int *w,int *h,int *bpp,kate_color **palette,int *ncolors,unsigned char **pixels);
14 extern int kd_read_png(const char *filename,int *w,int *h,unsigned char **pixels,size_t *size);
15
16 #endif
17