[Digikam-devel] extragear/graphics/digikam/utilities/imageeditor/editor
Francisco J. Cruz
fj.cruz at supercable.es
Sat May 20 22:43:56 BST 2006
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: digikam-devel at kde.org, caulier.gilles at kdemail.net
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
More information about the Digikam-devel
mailing list