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

Gilles Caulier caulier.gilles at free.fr
Wed May 10 13:39:48 BST 2006


SVN commit 539340 by cgilles:

digikam from trunk : in according with Paco, Image Editor now store ICC workspace profile instead input color profile into target image. The RAW workflow is now complete.
CCMAIL: digikam-devel at kde.org, francisco.jct at gmail.com


 M  +2 -3      dimginterface.cpp  


--- trunk/extragear/graphics/digikam/utilities/imageeditor/canvas/dimginterface.cpp #539339:539340
@@ -234,7 +234,7 @@
                     trans.setProfiles( QFile::encodeName(d->cmSettings->inputSetting),
                                        QFile::encodeName(d->cmSettings->workspaceSetting));
                     trans.apply( d->image );
-                    d->image.getICCProfilFromFile(QFile::encodeName(d->cmSettings->inputSetting));
+                    d->image.getICCProfilFromFile(QFile::encodeName(d->cmSettings->workspaceSetting));
                 }
                 else
                 {
@@ -251,11 +251,10 @@
                     
                     if (KMessageBox::questionYesNo(kapp->activeWindow(), message) == KMessageBox::Yes)
                     {
-                        kdDebug() << "Pressed YES" << endl;
                         trans.setProfiles( QFile::encodeName(d->cmSettings->inputSetting),
                                            QFile::encodeName(d->cmSettings->workspaceSetting));
                         trans.apply( d->image );
-                        d->image.getICCProfilFromFile(QFile::encodeName(d->cmSettings->inputSetting));
+                        d->image.getICCProfilFromFile(QFile::encodeName(d->cmSettings->workspaceSetting));
                     }
                 }
             }



More information about the Digikam-devel mailing list