From 3b37ef0c25d66c7f6fcca6348461c08d0ef28b96 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Thu, 27 Jan 2005 11:19:44 +0000 Subject: - removed ImageMagick 8bpp check --- bitmap.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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()); -- cgit v1.2.3