[Digikam-devel] extragear/graphics/digikam/utilities/imageeditor/canvas
Francisco J. Cruz
fj.cruz at supercable.es
Thu Jan 19 13:01:36 GMT 2006
SVN commit 500045 by fjcruz:
New method to retrieve if an image has an embedded icc profile has been implemented.
CCMAIL:digikam-devel at kde.org
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);
More information about the Digikam-devel
mailing list