-/**
+/*
* IMB_png.h
*
* $Id$
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
+/**
+ * \file IMB_png.h
+ * \ingroup imbuf
+ * \brief Function declarations for png.c
+ */
#ifndef IMB_PNG_H
#define IMB_PNG_H
struct ImBuf;
int imb_is_a_png(void *buf);
-struct ImBuf *imb_png_decode(unsigned char *mem, int size, int flags);
+struct ImBuf *imb_loadpng(unsigned char *mem, int size, int flags);
+
+short imb_savepng(struct ImBuf *ibuf, int file, int flags);
#endif