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

List:       kde-commits
Subject:    koffice/filters/krita/magick
From:       Casper Boemann <cbr () boemann ! dk>
Date:       2005-12-11 10:28:10
Message-ID: 1134296890.418088.23100.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 487607 by boemann:

Sorry this is the fix after removal of hasAlpha


 M  +6 -5      kis_image_magick_converter.cc  


--- trunk/koffice/filters/krita/magick/kis_image_magick_converter.cc #487606:487607
@@ -677,12 +677,13 @@
     kdDebug() << "IM Image thinks it has depth: " << image->depth << "\n";
 
 #ifdef HAVE_MAGICK6
-    if ( layer-> hasAlpha() )
+//    if ( layer-> hasAlpha() )
         image -> matte = MagickTrue;
-    else
-        image -> matte = MagickFalse;
+//    else
+//        image -> matte = MagickFalse;
 #else
-    image -> matte = layer -> hasAlpha();
+//    image -> matte = layer -> hasAlpha();
+    image -> matte = true;
 #endif
 
 
@@ -691,7 +692,7 @@
     height = img -> height();
     width = img -> width();
 
-    bool alpha = layer -> hasAlpha();
+    bool alpha = true;//layer -> hasAlpha();
 
     for (y = 0; y < height; y++) {
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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