#ifndef __png_h
#define __png_h
-#include "grc.h"
+#include <lib/gdi/gpixmap.h>
+
+SWIG_VOID(int) loadPNG(ePtr<gPixmap> &SWIG_OUTPUT, const char *filename);
+SWIG_VOID(int) loadJPG(ePtr<gPixmap> &SWIG_OUTPUT, const char *filename, ePtr<gPixmap> alpha = 0);
-gImage *loadPNG(const char *filename);
int savePNG(const char *filename, gPixmap *pixmap);
#endif