Copy link to clipboard
Copied
I've encountered an issue with the Adobe Lightroom SDK and the photo:applyDevelopPreset method, specifically related to curve settings not being consistently applied.
My plugin has the capability to copy settings from an anchor image and paste them onto selected images. To achieve this, I use photo:applyDevelopPreset(preset, _PLUGIN) to apply the anchor settings to multiple images. However, with a recent update to the SDK, I've noticed that curve settings are occasionally missing when pasting the settings onto some images. This inconsistency occurs randomly and doesn't affect every image.
I'm looking for insights and potential solutions to address this issue. If anyone has encountered a similar problem or has suggestions on how to ensure that curve settings are consistently applied when using photo:applyDevelopPreset,
@John R Ellis I would greatly appreciate your input.
LR introduced four new settings for representing tone curves: ExtendedToneCurvePV2012/Red/Green/Blue. These appear to get added to photos incrementally as the LR UI accesses images. The old settings ToneCurvePV2012/Red/Green/Blue are retained. The exact relationship between the old and new settings is undocumented and not clear.
So you'll want to ensure that the new settings are copied as well as the old. Also, ensure that the setting EnableToneCurve is copied. There was a bug a couple three r
...Copy link to clipboard
Copied
LR introduced four new settings for representing tone curves: ExtendedToneCurvePV2012/Red/Green/Blue. These appear to get added to photos incrementally as the LR UI accesses images. The old settings ToneCurvePV2012/Red/Green/Blue are retained. The exact relationship between the old and new settings is undocumented and not clear.
So you'll want to ensure that the new settings are copied as well as the old. Also, ensure that the setting EnableToneCurve is copied. There was a bug a couple three releases ago where presets weren't getting that set when they got created by the UI. It's not clear how you are creating the presets the plugin is using, but verify that EnableToneCurve is getting copied.
"My plugin has the capability to copy settings from an anchor image and paste them onto selected images."
Is there a particular reason the plugin uses photo:applyDevelopPreset() rather than photo:applyDevelopSettings()? I think the former is used much less than the latter, and thus it may have more undiscovered bugs. (In general, SDK methods don't get a lot of pre-release QA.) I have several plugins that rely on photo:applyDevelopSettings(), so I know it gets "tested" a lot.