Skip to main content
Inspiring
March 8, 2017

P: SDK LrDevelopController no longer works with ToneCurvePV2012 settings

  • March 8, 2017
  • 16 replies
  • 1259 views
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 has been closed for replies.

16 replies

Rikk Flohr_Photography
Community Manager
October 31, 2023

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

Rikk Flohr: Adobe Photography Org
Nileshsinh Rathod
Participant
October 31, 2023

@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 

johnrellis
Legend
October 31, 2023

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.

Nileshsinh Rathod
Participant
October 30, 2023

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.

 

Participating Frequently
July 19, 2017
i was just refreshing this thread to view any progress, and boom! an update! Thanks!
Rikk Flohr_Photography
Community Manager
July 19, 2017
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
Rikk Flohr: Adobe Photography Org
Inspiring
June 25, 2017
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.
quicky2000
Participating Frequently
June 25, 2017
Hi Jeff,

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

Oliver
Legend
June 16, 2017
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.
Inspiring
May 26, 2017
This still happens with lightroom cc2015.10.1