diff options
author | lordjaxom <lordjaxom> | 2005-01-27 11:19:44 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2005-01-27 11:19:44 +0000 |
commit | 3b37ef0c25d66c7f6fcca6348461c08d0ef28b96 (patch) | |
tree | 924e9f8f4a38af0daa6cf1ad606737fef1a4c61e | |
parent | f36b8016c77511ff6740d05e8e6f561fbe24765c (diff) | |
download | vdr-plugin-text2skin-3b37ef0c25d66c7f6fcca6348461c08d0ef28b96.tar.gz vdr-plugin-text2skin-3b37ef0c25d66c7f6fcca6348461c08d0ef28b96.tar.bz2 |
- removed ImageMagick 8bpp check
-rw-r--r-- | bitmap.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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()); |