[Digikam-devel] [Bug 166310] Preview not working in image effect dialogs
Gerhard Kulzer
gerhard at kulzer.net
Sun Jul 13 10:21:13 BST 2008
------- 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=166310
------- Additional Comments From gerhard kulzer net 2008-07-13 11:21 -------
What works is this type of preview:
Digikam::DImg imDest = m_threadedFilter->getTargetImage();
m_imagePreviewWidget->setPreviewImage(imDest);
The tape that doesn't work is this:
Digikam::DImg preview(w, h, sb, a, m_destinationPreviewData);
Digikam::HSLModifier cmod;
cmod.setHue(hu);
cmod.setSaturation(sa);
cmod.setLightness(lu);
cmod.applyHSL(preview);
iface->putPreviewImage(preview.bits());
m_previewWidget->updatePreview();
More information about the Digikam-devel
mailing list