SVN commit 500045 by fjcruz:
New method to retrieve if an image has an embedded icc profile has been implemented.
CCMAIL:
[hidden email]
M +12 -0 dimginterface.cpp
M +1 -0 dimginterface.h
--- trunk/extragear/graphics/digikam/utilities/imageeditor/canvas/dimginterface.cpp #500044:500045
@@ -995,6 +995,18 @@
emit signalModified(true, d->undoMan->anyMoreRedo());
}
+bool DImgInterface::hasICCEmbedded()
+{
+ if (d->image.getICCProfil().isNull())
+ {
+ return false;
+ }
+ else
+ {
+ return true;
+ }
+}
+
} // namespace Digikam
#include "dimginterface.moc"
--- trunk/extragear/graphics/digikam/utilities/imageeditor/canvas/dimginterface.h #500044:500045
@@ -88,6 +88,7 @@
bool hasAlpha();
bool sixteenBit();
bool exifRotated();
+ bool hasICCEmbedded();
void setSelectedArea(int x, int y, int w, int h);
void getSelectedArea(int& x, int& y, int& w, int& h);
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel