[Digikam-devel] extragear/graphics/digikam/utilities/imageeditor/canvas

Francisco J. Cruz fj.cruz at supercable.es
Sat Jun 24 08:50:25 BST 2006


SVN commit 554521 by fjcruz:

Bug fixed: if color management is enabled, workspace icc was always applied, even if "Ask...." option was selected in CM setup.

Note: if the embedded profile from an image is the same that the default workspace one, it makes no sense to do a transform from input color profile to workspace profile, since the image has already transformed (as it has the profile embedded).


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

 M  +0 -10     dimginterface.cpp  


--- trunk/extragear/graphics/digikam/utilities/imageeditor/canvas/dimginterface.cpp #554520:554521
@@ -321,16 +321,6 @@
                                 break;
                             }
                         }
-                        else
-                        {
-                            // Embedded profile and default workspace profile are the same : just apply it.
-                            
-                            if (d->parent) d->parent->setCursor( KCursor::waitCursor() );
-                            trans.setProfiles(QFile::encodeName(d->cmSettings->inputSetting), 
-                                              QFile::encodeName(d->cmSettings->workspaceSetting));
-                            trans.apply( d->image );
-                            if (d->parent) d->parent->unsetCursor();
-                        }
                     }
                 }
             }



More information about the Digikam-devel mailing list