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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Gilles Caulier
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: [hidden email], [hidden email]


 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));
                     }
                 }
             }
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel