add functions to load&scale pictures and to get exif information
[enigma2.git] / lib / gdi / picload.h
diff --git a/lib/gdi/picload.h b/lib/gdi/picload.h
new file mode 100644 (file)
index 0000000..7d5d8b2
--- /dev/null
@@ -0,0 +1,11 @@
+#ifndef __picload_h__
+#define __picload_h__
+
+#include "Python.h"
+#include <lib/gdi/gpixmap.h>
+#include <lib/gdi/epng.h>
+
+SWIG_VOID(int) loadPic(ePtr<gPixmap> &SWIG_OUTPUT, std::string filename, int x, int y, int aspect, int resize_mode=0, int rotate=0, int background=0, std::string cachefile="");
+PyObject *getExif(const char *filename);
+
+#endif // __picload_h__