[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/filters/krita/magick
From:       Bart Coppens <kde () bartcoppens ! be>
Date:       2005-10-07 19:29:40
Message-ID: 1128713380.113896.7398.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 468347 by coppens:

So David Faure had Imagemagick 6.2.0, for which this didn't work...

 M  +3 -3      kis_image_magick_converter.cc  


--- trunk/koffice/filters/krita/magick/kis_image_magick_converter.cc #468346:468347
@@ -185,10 +185,10 @@
         
         // Attributes, since we have no hint on if this is an attribute or a profile
         // annotation, we prefix it with 'krita_attribute:'. XXX This needs to be rethought!
-        // The joys of imagemagick. From at least version 6.2.1 (but I assume .0, I just
-        // can't find an older version to check) they changed the src -> attributes
+        // The joys of imagemagick. From at version 6.2.1 (dfaure has 6.2.0 and confirms the
+        // old way of doing things) they changed the src -> attributes
         // to void* and require us to use the iterator functions. So we #if around that, *sigh*
-#if MagickLibVersion >= 0x620
+#if MagickLibVersion >= 0x621
         const ImageAttribute * attr;
         ResetImageAttributeIterator(src);
         while ( (attr = GetNextImageAttribute(src)) ) {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic