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

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

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

F.J.Cruz
SVN commit 543003 by fjcruz:

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

A new method has been added:

void ImgIface::setEmbeddedICCToOriginalImage( QString profilePath)

CCMAIL: [hidden email], [hidden email]

 M  +6 -0      imageiface.cpp  
 M  +5 -0      imageiface.h  


--- trunk/extragear/graphics/digikam/utilities/imageeditor/editor/imageiface.cpp #543002:543003
@@ -211,6 +211,12 @@
     DImgInterface::instance()->putImage(caller, data, w, h);
 }
 
+void ImageIface::setEmbeddedICCToOriginalImage( QString profilePath)
+{
+    // @TODO Implement me: setEmbeddedICCToOriginalImage( QString profilePath)
+    DImgInterface::instance()->setEmbeddedICCToOriginalImage( profilePath );
+}
+
 void ImageIface::putImageSelection(const QString &caller, uchar* data)
 {
     if (!data)
--- trunk/extragear/graphics/digikam/utilities/imageeditor/editor/imageiface.h #543002:543003
@@ -90,6 +90,11 @@
         Caller is an i18n'ed string that will be shown as the undo/redo action name.
     */
     void   putOriginalImage(const QString &caller, uchar* data, int w=-1, int h=-1);
+    
+    /** Embed the Color Profile we have used in ICC plugin when this option is
+        selected
+    */
+    void setEmbeddedICCToOriginalImage(QString profilePath);
 
     /** Replace the data of the current original image selection with the given data.
         The characteristics of the data must match the characteristics of the current
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel