[Kde-imaging] [Bug 148561] Missing options in RAW conversion; terrible conversion of dark photos

Gilles Caulier caulier.gilles at gmail.com
Wed Aug 22 16:24:36 CEST 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=148561         




------- Additional Comments From caulier.gilles gmail com  2007-08-22 16:24 -------
SVN commit 703446 by cgilles:

digiKam from trunk (KDE4) : backport patch from Guillaume Castagnino about to support new chromatic aberration reduction options provided by dcraw 8.77
CCBUGS: 148561
CCMAIL: casta xwing info


 M  +3 -0      imageeditor/editor/editorwindow.cpp  
 M  +6 -0      setup/setupdcraw.cpp  


--- trunk/extragear/graphics/digikam/utilities/imageeditor/editor/editorwindow.cpp #703445:703446
 @ -853,6 +853,9  @
                                                        group.readEntry("RAWQuality",
                                                        (int)KDcrawIface::RawDecodingSettings::BILINEAR);
     m_IOFileSettings->rawDecodingSettings.NRThreshold             = group.readEntry("NRThreshold", 100);
+    m_IOFileSettings->rawDecodingSettings.enableCACorrection      = group.readEntry("EnableCACorrection", false);
+    m_IOFileSettings->rawDecodingSettings.caMultiplier[0]         = group.readEntry("caRedMultiplier", 1.0);
+    m_IOFileSettings->rawDecodingSettings.caMultiplier[1]         = group.readEntry("caBlueMultiplier", 1.0);
     m_IOFileSettings->rawDecodingSettings.brightness              = group.readEntry("RAWBrightness", 1.0);
 
     // -- GUI Settings -------------------------------------------------------
--- trunk/extragear/graphics/digikam/utilities/setup/setupdcraw.cpp #703445:703446
 @ -91,6 +91,9  @
     group.writeEntry("DontStretchPixels", d->dcrawSettings->useDontStretchPixels());
     group.writeEntry("EnableNoiseReduction", d->dcrawSettings->useNoiseReduction());
     group.writeEntry("NRThreshold", d->dcrawSettings->NRThreshold());
+    group.writeEntry("EnableCACorrection", d->dcrawSettings->useCACorrection());
+    group.writeEntry("caRedMultiplier", d->dcrawSettings->caRedMultiplier());
+    group.writeEntry("caBlueMultiplier", d->dcrawSettings->caBlueMultiplier());
     group.writeEntry("UnclipColors", d->dcrawSettings->unclipColor());
     group.writeEntry("RAWBrightness", d->dcrawSettings->brightness());
     group.writeEntry("RAWQuality", (int)d->dcrawSettings->quality());
 @ -104,6 +107,9  @
     d->dcrawSettings->setSixteenBits(group.readEntry("SixteenBitsImage", false));
     d->dcrawSettings->setNoiseReduction(group.readEntry("EnableNoiseReduction", false));
     d->dcrawSettings->setNRThreshold(group.readEntry("NRThreshold", 100));
+    d->dcrawSettings->setUseCACorrection(group.readEntry("EnableCACorrection", false));
+    d->dcrawSettings->setcaRedMultiplier(group.readEntry("caRedMultiplier", 1.0));
+    d->dcrawSettings->setcaBlueMultiplier(group.readEntry("caBlueMultiplier", 1.0));
     d->dcrawSettings->setDontStretchPixels(group.readEntry("DontStretchPixels", false));
     d->dcrawSettings->setUnclipColor(group.readEntry("UnclipColors", 0));
     d->dcrawSettings->setCameraWB(group.readEntry("CameraColorBalance", true));


More information about the Kde-imaging mailing list