summaryrefslogtreecommitdiff
path: root/libcore/imageloader.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-09-27 09:25:14 +0200
committerlouis <louis.braun@gmx.de>2014-09-27 09:25:14 +0200
commitb0509b5182b6e0d04f05e6b3d5676b0d21f51966 (patch)
tree22b302342f22843e0815eb5f516c85f1478cbf0b /libcore/imageloader.h
downloadvdr-plugin-skindesigner-0.0.1.tar.gz
vdr-plugin-skindesigner-0.0.1.tar.bz2
initial commit version 0.0.10.0.1
Diffstat (limited to 'libcore/imageloader.h')
-rw-r--r--libcore/imageloader.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/libcore/imageloader.h b/libcore/imageloader.h
new file mode 100644
index 0000000..2a148be
--- /dev/null
+++ b/libcore/imageloader.h
@@ -0,0 +1,23 @@
+#ifndef __NOPACITY_IMAGELOADER_H
+#define __NOPACITY_IMAGELOADER_H
+
+#define X_DISPLAY_MISSING
+
+#include <vdr/osd.h>
+#include <vdr/skins.h>
+#include <Magick++.h>
+#include "imagemagickwrapper.h"
+
+using namespace Magick;
+
+class cImageLoader : public cImageMagickWrapper {
+public:
+ cImageLoader();
+ ~cImageLoader();
+ cImage GetImage();
+ bool LoadImage(const char *path, int width, int height);
+ void DeterminateChannelLogoSize(int &width, int &height);
+private:
+};
+
+#endif //__NOPACITY_IMAGELOADER_H