Skip to main content
Inspiring
Mar 8, 2017 11:04 PM UTC
Released

P: SDK LrDevelopController no longer works with ToneCurvePV2012 settings

I'm a Lightroom plugin developer, one of my products is The Fader (https://www.capturemonkey.com/thefader/), which can crossfade between different develop settings.  It operates on normal sliders, but it can also create smooth transitions between tone curves.

In order to operate, it needs support from Lightroom to set sliders and tone curves.  The SDK provides few methods for this:

1) LrPhoto:applyDevelopPreset, which works almost, but it has problems updating the display when GPU is enabled: https://feedback.photoshop.com/photoshop_family/topics/lightroom-sdk-photo-applydeveloppreset-doesnt...

2) LrDevelopController.setValue, which has been my solution since Lightroom 6.0.  It has a few quirks, but it did get the job done.  ToneCurvePV2012 (/Red/Green/Blue) were not mentioned specifically on the documentation, but they were working in LR 6.0-6.8, something along the lines of:
LrDevelopController.setValue("ToneCurvePV2012Red", {0,0,40,50,200,220,255,255})
In 6.9, it is no longer working and there is no working way to set the tone curve from a plugin.

Please, bring the tone curve back to LrDevelopController.  Bonus points for fixing the GPU issue.
This topic is closed to new replies. Start a new post to keep the conversation going.

16 replies

Rikk Flohr-Retired
Adobe Employee
Oct 31, 2023 1:36 PM UTC

@Nileshsinh Rathod  Apologies, I believe I merged you into the wrong thread. 

Translate
Rikk Flohr: Adobe Photography Org
Nileshsinh Rathod
Participant
Oct 31, 2023 1:20 PM UTC

@johnrellis Thank you for your response. I initially posted my question in a new thread related to the SDK. It appears that my question was merged by @Rikk Flohr: Photography  into this older thread.

Here is the new thread link about the issue https://community.adobe.com/t5/lightroom-classic-discussions/curve-settings-issue-with-photo-applydeveloppreset-in-lr-sdk/m-p/14198732#M342521 

Translate
johnrellis
Legend
Oct 31, 2023 7:38 AM UTC

You've posted in a very old thread that's unrelated to your issue. Please post in the Discussions section, using the topic SDK. I've got some ideas about what might be going on.

Translate
Nileshsinh Rathod
Participant
Oct 30, 2023 9:05 AM UTC

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, I would greatly appreciate your input.

 

Translate
Participating Frequently
Jul 19, 2017 4:41 AM UTC
i was just refreshing this thread to view any progress, and boom! an update! Thanks!
Translate
Rikk Flohr-Retired
Adobe Employee
Jul 19, 2017 4:12 AM UTC
Lightroom CC2015.12/6.12 was released today and should address this issue.  Please update your Lightroom to the latest version and let us know if you continue to see the issue. Thank you for your patience.

http://blogs.adobe.com/lightroomjournal/2017/07/lightroom-cc-2015-12-now-available.html
Translate
Rikk Flohr: Adobe Photography Org
Inspiring
Jun 25, 2017 8:42 AM UTC
I'd also like to get access, but for the past week and tried with couple of email addresses, I have not yet received it.
Translate
quicky2000
Participating Frequently
Jun 25, 2017 8:27 AM UTC
Hi Jeff,

I'd like to evaluate this, too. How can I get access?
Cheers,

Oliver
Translate
Legend
Jun 16, 2017 3:47 PM UTC
Good morning. We'd like to invite you to our prerelease if you're interested in evaluating a fix for this issue. Let us know and we'll get you added.
Translate
Inspiring
May 26, 2017 5:50 AM UTC
This still happens with lightroom cc2015.10.1
Translate