Version: rev.: 1039758 (using KDE 4.3.2) OS: Linux Installed from: Fedora RPMs Steps: - F4 on raw - select the 16 bit color checkbox - don't click update but just import If you click update before import the picture will be imported correctly.
Not reproducible here. Which digiKam version you use ? Gilles Caulier
rev.: 1039758 :-)
Still in rev.: 1040208. If the checbox is selected when editor is shown, unselect it, click on update and select it and click Import.
I can confirm this.
Seems only to happen when switching from 8 to 16 bit.
Curves adjust is the problem here. When not setting the curveAdjust parameter of the RAWDecodingSettings (commenting out line 658 of rawsettingsbox.cpp) the problem is gone. I suspect the curves box gives parameters for the [0,255] range when it should use the [0,65535] range. Johannes, you have been working in this area recently iirc?
Created attachment 38156 [details] Excerpt from the RAW Import Settings section of digikamrc I am also seeing the ASCII art in the config file. Seems to be a bit of redundant information here ;-) Don't know if this is related.
Lol that looks strange. I will have a look at this tomorrow.
SVN commit 1046364 by jwienke: Fix "ASCII Art" saving of curves CCBUG: 211810 M +15 -17 curveswidget.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1046364
Created attachment 38192 [details] Patch to fix initial bug... To review... Gilles Caulier
SVN commit 1046469 by jwienke: Applies Gilles' patch to correctly convert curves to 16 bit if no preview was generated before. BUG: 211810 M +5 -1 rawimport.cpp M +1 -1 rawsettingsbox.cpp M +2 -2 rawsettingsbox.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1046469