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

Gilles Caulier caulier.gilles at gmail.com
Wed Aug 22 15:27:12 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 15:27 -------
SVN commit 703418 by cgilles:

digiKam from KDE3 branch : 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  


--- branches/extragear/kde3/graphics/digikam/utilities/imageeditor/editor/editorwindow.cpp #703417:703418
 @ -892,6 +892,9  @
     m_IOFileSettings->rawDecodingSettings.RAWQuality              = (KDcrawIface::RawDecodingSettings::DecodingQuality)config->readNumEntry("RAWQuality",
                                                                     KDcrawIface::RawDecodingSettings::BILINEAR);
     m_IOFileSettings->rawDecodingSettings.NRThreshold             = config->readNumEntry("NRThreshold", 100);
+    m_IOFileSettings->rawDecodingSettings.enableCACorrection      = config->readBoolEntry("EnableCACorrection", false);
+    m_IOFileSettings->rawDecodingSettings.caMultiplier[0]         = config->readDoubleNumEntry("caRedMultiplier", 1.0);
+    m_IOFileSettings->rawDecodingSettings.caMultiplier[1]         = config->readDoubleNumEntry("caBlueMultiplier", 1.0);
     m_IOFileSettings->rawDecodingSettings.brightness              = config->readDoubleNumEntry("RAWBrightness", 1.0);
 
     // -- GUI Settings -------------------------------------------------------
--- branches/extragear/kde3/graphics/digikam/utilities/setup/setupdcraw.cpp #703417:703418
 @ -95,6 +95,9  @
     config->writeEntry("DontStretchPixels", d->dcrawSettings->useDontStretchPixels());
     config->writeEntry("EnableNoiseReduction", d->dcrawSettings->useNoiseReduction());
     config->writeEntry("NRThreshold", d->dcrawSettings->NRThreshold());
+    config->writeEntry("EnableCACorrection", d->dcrawSettings->useCACorrection());
+    config->writeEntry("caRedMultiplier", d->dcrawSettings->caRedMultiplier());
+    config->writeEntry("caBlueMultiplier", d->dcrawSettings->caBlueMultiplier());
     config->writeEntry("UnclipColors", d->dcrawSettings->unclipColor());
     config->writeEntry("RAWBrightness", d->dcrawSettings->brightness());
     config->writeEntry("RAWQuality", d->dcrawSettings->quality());
 @ -108,6 +111,9  @
     d->dcrawSettings->setSixteenBits(config->readBoolEntry("SixteenBitsImage", false));
     d->dcrawSettings->setNoiseReduction(config->readBoolEntry("EnableNoiseReduction", false));
     d->dcrawSettings->setNRThreshold(config->readNumEntry("NRThreshold", 100));
+    d->dcrawSettings->setUseCACorrection(config->readBoolEntry("EnableCACorrection", false));
+    d->dcrawSettings->setcaRedMultiplier(config->readDoubleNumEntry("caRedMultiplier", 1.0));
+    d->dcrawSettings->setcaBlueMultiplier(config->readDoubleNumEntry("caBlueMultiplier", 1.0));
     d->dcrawSettings->setDontStretchPixels(config->readBoolEntry("DontStretchPixels", false));
     d->dcrawSettings->setUnclipColor(config->readNumEntry("UnclipColors", 0));
     d->dcrawSettings->setCameraWB(config->readBoolEntry("CameraColorBalance", true));


More information about the Kde-imaging mailing list