diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-11-18 13:14:57 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-11-18 13:14:57 +0000 |
| commit | ba99f2a78a438151e49057ebc23b53fce032d731 (patch) | |
| tree | 95302b8290c740be3f516086e16683fb4833e2ad /lib/gdi/picload.h | |
| parent | d31cde226e8713d91b8ad978e77e2c159c35e5a6 (diff) | |
| download | enigma2-ba99f2a78a438151e49057ebc23b53fce032d731.tar.gz enigma2-ba99f2a78a438151e49057ebc23b53fce032d731.zip | |
add functions to load&scale pictures and to get exif information
Diffstat (limited to 'lib/gdi/picload.h')
| -rw-r--r-- | lib/gdi/picload.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/gdi/picload.h b/lib/gdi/picload.h new file mode 100644 index 00000000..7d5d8b2a --- /dev/null +++ b/lib/gdi/picload.h @@ -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__ |
