diff options
Diffstat (limited to 'libcore/imageloader.h')
-rw-r--r-- | libcore/imageloader.h | 23 |
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 |