[Digikam-devel] extragear/graphics/digikam/libs/dimg/filters

Francisco J. Cruz fj.cruz at supercable.es
Fri Jun 23 23:02:36 BST 2006


SVN commit 554379 by fjcruz:

Bug #127763 is expected to be fixed, so test and feedback,please.

In any case this bug is not due to an error in profiles class recognition, but to bad constructed, broken or uncompleted color profiles, in fact, lcms show this error:

lcms: Error #12288; unable to smelt shaper-matrix, required tags missing


CCMAIL: digikam-devel at kde.org, caulier.gilles at kdemail.net

 M  +16 -0     icctransform.cpp  


--- trunk/extragear/graphics/digikam/libs/dimg/filters/icctransform.cpp #554378:554379
@@ -516,6 +516,8 @@
                                                 TYPE_BGRA_16,
                                                 intent,
                                                 transformFlags);
+                if (!transform)
+                    return;
             }
             else
             {
@@ -537,6 +539,8 @@
                                                 TYPE_BGR_16,
                                                 intent,
                                                 transformFlags);
+                if (!transform)
+                    return;
             }
         }
         else
@@ -561,6 +565,8 @@
                                                 TYPE_BGRA_8,
                                                 intent,
                                                 transformFlags);
+                if (!transform)
+                    return;
             }
             else
             {
@@ -582,6 +588,8 @@
                                                 TYPE_BGR_8,
                                                 intent,
                                                 transformFlags);
+                 if (!transform)
+                    return;
             }
 
         }
@@ -618,6 +626,8 @@
                                                         intent,
                                                         intent,
                                                         transformFlags);
+                if (!transform)
+                    return;
             }
             else
             {
@@ -629,6 +639,8 @@
                                                         intent,
                                                         intent,
                                                         transformFlags);
+                 if (!transform)
+                    return;
             }
         }
         else
@@ -643,6 +655,8 @@
                                                         intent,
                                                         intent,
                                                         transformFlags);
+                if (!transform)
+                    return;
             }
             else
             {
@@ -654,6 +668,8 @@
                                                         intent,
                                                         intent,
                                                         transformFlags);
+                if (!transform)
+                    return;
             }
         }
     }



More information about the Digikam-devel mailing list