FYI: krita & ImageMagick CVS

Melchior FRANZ mfranz at kde.org
Mon Apr 25 21:10:29 CEST 2005


The changes from today cause a compilation error with ImageMagick/CVS. Not
alarming, of course, just something that may have to be dealt with in the
not so distant future. This patch fixed it (and you don't have to tell me
that it can't get applied to krita/CVS :-):


diff -u -p -r1.44 kis_image_magick_converter.cc
--- core/builder/kis_image_magick_converter.cc  25 Apr 2005 15:25:46 -0000      1.44
+++ core/builder/kis_image_magick_converter.cc  25 Apr 2005 18:57:00 -0000
@@ -545,9 +545,10 @@ QString KisImageMagickConverter::readFil
        QString name;
        QString description;
        const MagickInfo **mi;
+       ExceptionInfo ei;
        unsigned long matches;

-       mi = GetMagickInfoList("*", &matches);
+       mi = GetMagickInfoList("*", &matches, &ei);

        if (!mi)
                return s;
@@ -584,9 +585,10 @@ QString KisImageMagickConverter::writeFi
        QString name;
        QString description;
        const MagickInfo **mi;
+       ExceptionInfo ei;
        unsigned long matches;

-       mi = GetMagickInfoList("*", &matches);
+       mi = GetMagickInfoList("*", &matches, &ei);

        if (!mi) {
                kdDebug() << "Eek, no magick info!\n";


More information about the kimageshop mailing list