[Digikam-devel] [Bug 148648] Color managed previews not working in all plugins

Gilles Caulier caulier.gilles at gmail.com
Tue Sep 4 09:14:53 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 caulier.gilles gmail com  2007-09-04 10:14 -------
SVN commit 708229 by cgilles:

digiKam from trunk (KDE4) : backport commits #708196 from KDE3 branch
CCBUGS: 148648


 M  +2 -0      imageguidewidget.cpp  


--- trunk/extragear/graphics/digikam/libs/widgets/imageplugins/imageguidewidget.cpp #708228:708229
 @ -125,6 +125,7  @
     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);
 @ -484,6 +485,7  @
     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);



More information about the Digikam-devel mailing list