| Summary: | Preview not working in image effect dialogs | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Gandalf Lechner <gandalflechner> |
| Component: | ImageEditor-Plugins | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caulier.gilles, gsking1, kde-2011.08 |
| Priority: | NOR | ||
| Version First Reported In: | 0.10.0 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 0.10.0 | |
| Sentry Crash Report: | |||
| Attachments: | screenshot | ||
|
Description
Gandalf Lechner
2008-07-11 17:45:39 UTC
Created attachment 26041 [details]
screenshot
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();
*** Bug 166579 has been marked as a duplicate of this bug. *** *** Bug 167563 has been marked as a duplicate of this bug. *** SVN commit 840122 by cgilles: BugFix: do not try to open more than one painter at the same time over a paint device. Qt4.4 sound like more restrictive here. BUG: 166310 M +41 -32 libs/widgets/imageplugins/imageguidewidget.cpp M +13 -13 libs/widgets/imageplugins/imageguidewidget.h M +13 -11 project/project.kdevelop M +13 -6 utilities/imageeditor/editor/imageiface.cpp M +4 -3 utilities/imageeditor/editor/imageiface.h WebSVN link: http://websvn.kde.org/?view=rev&revision=840122 Works fine here now, thanks |