[Digikam-devel] [Bug 211423] Raw import intensity curve is not restored

Johannes Wienke languitar at semipol.de
Thu Oct 22 16:23:12 BST 2009


https://bugs.kde.org/show_bug.cgi?id=211423





--- Comment #4 from Johannes Wienke <languitar semipol de>  2009-10-22 17:23:11 ---
Ok, I found the problem. After some fixes the raw curve points are restored
correctly from the rc file but this is not the real problem.

What happens is that:
1. curve is restored for the widget
2. the image is set in CurvesWidget::updateData
3. this method creates new curves depending on if the image is 16 bit or not
=> restored curve is reset

Why does the curve need to know whether the image is 16 bit or not? If this
wasn't necessary, then this reset won't be needed. Moreover, what do we do at
the moment, if a curve was generated for a 16 bit image and the next one is a
normal image with 8 bits per channel?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list