summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2005-01-27 11:19:44 +0000
committerlordjaxom <lordjaxom>2005-01-27 11:19:44 +0000
commit3b37ef0c25d66c7f6fcca6348461c08d0ef28b96 (patch)
tree924e9f8f4a38af0daa6cf1ad606737fef1a4c61e
parentf36b8016c77511ff6740d05e8e6f561fbe24765c (diff)
downloadvdr-plugin-text2skin-3b37ef0c25d66c7f6fcca6348461c08d0ef28b96.tar.gz
vdr-plugin-text2skin-3b37ef0c25d66c7f6fcca6348461c08d0ef28b96.tar.bz2
- removed ImageMagick 8bpp check
-rw-r--r--bitmap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bitmap.c b/bitmap.c
index a56d909..f2c1536 100644
--- a/bitmap.c
+++ b/bitmap.c
@@ -1,5 +1,5 @@
/*
- * $Id: bitmap.c,v 1.6 2005/01/27 10:53:07 lordjaxom Exp $
+ * $Id: bitmap.c,v 1.7 2005/01/27 11:19:44 lordjaxom Exp $
*/
#include "bitmap.h"
@@ -206,10 +206,12 @@ bool cText2SkinBitmap::LoadMagick(const char *Filename, int height, int width, i
(*it).sample(Geometry(width,height));
w = (*it).columns();
h = (*it).rows();
+ /*
if ((*it).depth() > 8) {
esyslog("ERROR: text2skin: More than 8bpp images are not supported");
return false;
}
+ */
bmp = new cBitmap(w, h, (*it).depth());
//Dprintf("this image has %d colors\n", (*it).totalColors());