summaryrefslogtreecommitdiff
path: root/bitmap.h
blob: 5692b9dbdd8145789cb347ef6e8cbcac9e37d3d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifdef HAVE_IMAGEMAGICK

#ifndef _OSDIMAGE_BITMAP_H_
#define _OSDIMAGE_BITMAP_H_

#include <vdr/osd.h>
#include <vdr/skins.h>

class cOSDImageBitmap {
public:
  cOSDImageBitmap();
  ~cOSDImageBitmap();
	bool LoadImage(const char *fileNameP, int w, int h, int colors, cBitmap &bmp);

private:
	bool LoadMagick(const char *Filename, int height, int width, int colors, cBitmap &bmp);
};

#endif
#endif //HAVE_IMAGEMAGICK