[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:26:00 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:26 -------
SVN commit 703417 by cgilles:
kipi-plugins from KDE3 branch : RAW Converter : patch from Guillaume Castagnino to support new chromatic aberration reduction options from libkdcraw
CCBUGS: 148561
CCMAIL: casta xwing info
M +9 -0 batchdialog.cpp
M +12 -0 singledialog.cpp
--- branches/extragear/kde3/libs/kipi-plugins/rawconverter/batchdialog.cpp #703416:703417
@ -240,6 +240,9 @
m_decodingSettingsBox->setUseBlackPoint(config.readBoolEntry("Use Black Point", false));
m_decodingSettingsBox->setBlackPoint(config.readNumEntry("Black Point", 0));
m_decodingSettingsBox->setNRThreshold(config.readNumEntry("NR Threshold", 100));
+ m_decodingSettingsBox->setUseCACorrection(config.readBoolEntry("EnableCACorrection", false));
+ m_decodingSettingsBox->setcaRedMultiplier(config.readDoubleNumEntry("caRedMultiplier", 1.0));
+ m_decodingSettingsBox->setcaBlueMultiplier(config.readDoubleNumEntry("caBlueMultiplier", 1.0));
m_decodingSettingsBox->setUseColorMultipliers(config.readBoolEntry("Use Color Multipliers", false));
m_decodingSettingsBox->setcolorMultiplier1(config.readDoubleNumEntry("Color Multiplier1", 1.0));
m_decodingSettingsBox->setcolorMultiplier2(config.readDoubleNumEntry("Color Multiplier2", 1.0));
@ -280,6 +283,9 @
config.writeEntry("Use Black Point", m_decodingSettingsBox->useBlackPoint());
config.writeEntry("Black Point", m_decodingSettingsBox->blackPoint());
config.writeEntry("NR Threshold", m_decodingSettingsBox->NRThreshold());
+ config.writeEntry("EnableCACorrection", m_decodingSettingsBox->useCACorrection());
+ config.writeEntry("caRedMultiplier", m_decodingSettingsBox->caRedMultiplier());
+ config.writeEntry("caBlueMultiplier", m_decodingSettingsBox->caBlueMultiplier());
config.writeEntry("Decoding Quality", (int)m_decodingSettingsBox->quality());
config.writeEntry("Output Color Space", (int)m_decodingSettingsBox->outputColorSpace());
config.writeEntry("Use Color Multipliers", m_decodingSettingsBox->useColorMultipliers());
@ -339,6 +345,9 @
rawDecodingSettings.enableBlackPoint = m_decodingSettingsBox->useBlackPoint();
rawDecodingSettings.blackPoint = m_decodingSettingsBox->blackPoint();
rawDecodingSettings.NRThreshold = m_decodingSettingsBox->NRThreshold();
+ rawDecodingSettings.enableCACorrection = m_decodingSettingsBox->useCACorrection();
+ rawDecodingSettings.caMultiplier[0] = m_decodingSettingsBox->caRedMultiplier();
+ rawDecodingSettings.caMultiplier[1] = m_decodingSettingsBox->caBlueMultiplier();
rawDecodingSettings.RAWQuality = m_decodingSettingsBox->quality();
rawDecodingSettings.outputColorSpace = m_decodingSettingsBox->outputColorSpace();
rawDecodingSettings.enableColorMultipliers = m_decodingSettingsBox->useColorMultipliers();
--- branches/extragear/kde3/libs/kipi-plugins/rawconverter/singledialog.cpp #703416:703417
@ -231,6 +231,9 @
m_decodingSettingsBox->setUseBlackPoint(config.readBoolEntry("Use Black Point", false));
m_decodingSettingsBox->setBlackPoint(config.readNumEntry("Black Point", 0));
m_decodingSettingsBox->setNRThreshold(config.readNumEntry("NR Threshold", 100));
+ m_decodingSettingsBox->setUseCACorrection(config.readBoolEntry("EnableCACorrection", false));
+ m_decodingSettingsBox->setcaRedMultiplier(config.readDoubleNumEntry("caRedMultiplier", 1.0));
+ m_decodingSettingsBox->setcaBlueMultiplier(config.readDoubleNumEntry("caBlueMultiplier", 1.0));
m_decodingSettingsBox->setUseColorMultipliers(config.readBoolEntry("Use Color Multipliers", false));
m_decodingSettingsBox->setcolorMultiplier1(config.readDoubleNumEntry("Color Multiplier1", 1.0));
m_decodingSettingsBox->setcolorMultiplier2(config.readDoubleNumEntry("Color Multiplier2", 1.0));
@ -271,6 +274,9 @
config.writeEntry("Use Black Point", m_decodingSettingsBox->useBlackPoint());
config.writeEntry("Black Point", m_decodingSettingsBox->blackPoint());
config.writeEntry("NR Threshold", m_decodingSettingsBox->NRThreshold());
+ config.writeEntry("EnableCACorrection", m_decodingSettingsBox->useCACorrection());
+ config.writeEntry("caRedMultiplier", m_decodingSettingsBox->caRedMultiplier());
+ config.writeEntry("caBlueMultiplier", m_decodingSettingsBox->caBlueMultiplier());
config.writeEntry("Decoding Quality", (int)m_decodingSettingsBox->quality());
config.writeEntry("Output Color Space", (int)m_decodingSettingsBox->outputColorSpace());
config.writeEntry("Use Color Multipliers", m_decodingSettingsBox->useColorMultipliers());
@ -305,6 +311,9 @
rawDecodingSettings.enableBlackPoint = m_decodingSettingsBox->useBlackPoint();
rawDecodingSettings.blackPoint = m_decodingSettingsBox->blackPoint();
rawDecodingSettings.NRThreshold = m_decodingSettingsBox->NRThreshold();
+ rawDecodingSettings.enableCACorrection = m_decodingSettingsBox->useCACorrection();
+ rawDecodingSettings.caMultiplier[0] = m_decodingSettingsBox->caRedMultiplier();
+ rawDecodingSettings.caMultiplier[1] = m_decodingSettingsBox->caBlueMultiplier();
rawDecodingSettings.RAWQuality = m_decodingSettingsBox->quality();
rawDecodingSettings.outputColorSpace = m_decodingSettingsBox->outputColorSpace();
rawDecodingSettings.enableColorMultipliers = m_decodingSettingsBox->useColorMultipliers();
@ -333,6 +342,9 @
rawDecodingSettings.enableBlackPoint = m_decodingSettingsBox->useBlackPoint();
rawDecodingSettings.blackPoint = m_decodingSettingsBox->blackPoint();
rawDecodingSettings.NRThreshold = m_decodingSettingsBox->NRThreshold();
+ rawDecodingSettings.enableCACorrection = m_decodingSettingsBox->useCACorrection();
+ rawDecodingSettings.caMultiplier[0] = m_decodingSettingsBox->caRedMultiplier();
+ rawDecodingSettings.caMultiplier[1] = m_decodingSettingsBox->caBlueMultiplier();
rawDecodingSettings.RAWQuality = m_decodingSettingsBox->quality();
rawDecodingSettings.outputColorSpace = m_decodingSettingsBox->outputColorSpace();
rawDecodingSettings.enableColorMultipliers = m_decodingSettingsBox->useColorMultipliers();
More information about the Kde-imaging
mailing list