[Digikam-devel] extragear/graphics/digikam/imageplugins

Francisco J. Cruz fj.cruz at supercable.es
Sat May 20 22:44:21 BST 2006


SVN commit 543004 by fjcruz:

"Embed profile" option from Color Management plugin is working now. 


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

 M  +7 -1      imageeffect_iccproof.cpp  


--- trunk/extragear/graphics/digikam/imageplugins/imageeffect_iccproof.cpp #543003:543004
@@ -510,7 +510,7 @@
 
 void ImageEffect_ICCProof::finalRendering()
 {
-    //  TODO : implement me
+
     if (!m_doSoftProofBox->isChecked())
     {
         kapp->setOverrideCursor( KCursor::waitCursor() );
@@ -620,6 +620,12 @@
                                 m_checkGamutBox->isChecked(), useBuiltinProfile());
             }
             
+            if (m_embeddProfileBox->isChecked())
+            {
+                iface->setEmbeddedICCToOriginalImage( tmpSpacePath );
+                kdDebug() << "ImageEffect_ICCProof::finalRendering() - 626" << QFile::encodeName(tmpSpacePath) << endl;
+            }
+            
             iface->putOriginalImage("Color Management", img.bits());
             delete [] data;
         }



More information about the Digikam-devel mailing list