[Digikam-devel] [Bug 148648] Color managed previews not working in all plugins
Arnd Baecker
arnd.baecker at web.de
Tue Sep 4 07:34:45 BST 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=148648
------- Additional Comments From arnd.baecker web de 2007-09-04 08:34 -------
SVN commit 708196 by abaecker:
enable colormanagement in previews
CCBUGS: 148648
TODO:KDE4PORT
M +2 -1 NEWS
M +4 -0 libs/widgets/imageplugins/imageguidewidget.cpp
M +1 -0 utilities/imageeditor/editor/imageiface.cpp
--- branches/extragear/kde3/graphics/digikam/NEWS #708195:708196
@ -38,4 +38,5 @
025 ==> 139024 : camera GUI new items selection doesn't work.
026 ==> 139519 : digiKam silently fails to import when out of disc space.
027 ==> 149469 : excessive trash confirmation dialogs after album is deleted.
-028 ==>
+028 ==> 148648 : Color managed previews not working in all plugins
+029 ==>
--- branches/extragear/kde3/graphics/digikam/libs/widgets/imageplugins/imageguidewidget.cpp #708195:708196
@ -121,6 +121,8 @
bool sixteenBit = d->iface->previewSixteenBit();
bool hasAlpha = d->iface->previewHasAlpha();
d->preview = DImg(d->width, d->height, sixteenBit, hasAlpha, data);
+ d->preview.setICCProfil( d->iface->getOriginalImg()->getICCProfil() );
+
delete [] data;
d->pixmap = new QPixmap(w, h);
@ -478,6 +480,8 @
bool sixteenBit = d->iface->previewSixteenBit();
bool hasAlpha = d->iface->previewHasAlpha();
d->preview = DImg(d->width, d->height, sixteenBit, hasAlpha, data);
+ d->preview.setICCProfil( d->iface->getOriginalImg()->getICCProfil() );
+
delete [] data;
d->pixmap = new QPixmap(w, h);
--- branches/extragear/kde3/graphics/digikam/utilities/imageeditor/editor/imageiface.cpp #708195:708196
@ -227,6 +227,7 @
{
d->targetPreviewImage = DImg(d->previewImage.width(), d->previewImage.height(),
d->previewImage.sixteenBit(), d->previewImage.hasAlpha(), data);
+ d->targetPreviewImage.setICCProfil( d->previewImage.getICCProfil() );
}
else
{
More information about the Digikam-devel
mailing list