Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Text2skin 0.0.8 and libmagick v6.0.7.1



Hello,

I have been using the text2skin plug-in for a while now on Debian Sid with
libmagick v6.0.5 without any issues. Recently there has been an update to
libmagick v6.0.7.1 and all of the sudden my animated MNG icons stopped
working.  After some debugging, I was able to fix the problem by applying
the following patch:

--- text2skin-0.0.8/bitmap.c.old 2004-07-13 06:52:51.000000000 -0700
+++ text2skin-0.0.8/bitmap.c     2004-09-12 06:44:33.000000000 -0700
@@ -151,7 +151,7 @@
                for (it = images.begin(); it != images.end(); ++it) {
                        w = (*it).columns();
                        h = (*it).rows();
-                       if ((*it).depth() > 8) {
+                       if ((*it).depth() > 16) {
                                esyslog("ERROR: text2skin: More than 8bpp
images are not supported");
                                return false;
                        }

It appears that the new libmagick 6.0.7.1 library is returning the depth of
the animated MNG file twice the value of what it was before.  I am unsure
why this is happening, but I am suspecting a problem with the library. Can
anyone else confirm this?

Thanks,
C.Y.M.





Home | Main Index | Thread Index