Copy link to clipboard
Copied
Only a small number of changes in the LR 12.0 SDK compared to the LR 11.4 SDK:
Lightroom Classic SDK Programmers Guide
Correction of typos with LrCatalog:getChildCollections() and :getChildCollectionSets().
API Reference
LrCatalog
Correction of typos with LrCatalog:getChildCollections() and :getChildCollectionSets().
LrDevelopController
Changed methods:
decrement, increment, setValue:
A new boolean parameter "withClippingOn" was added to optionally show clipping.
addToCurrentMask, createNewMask, intersectWithCurrentMask, subtrackFromCurrentMask:
Adds additional mask subtypes "background", "objects", and "people".
New methods:
goToHealing, resetHealing:
These are the same as goToSpotRemoval() and resetSpotRemoval(), which are now deprecated because of the name change in the LR UI.
Deprecated methods:
goToSpotRemoval, resetSpotRemoval:
Use goToHealing() and resetHealing() instead.
LrFileUtils
Documentation corrected for the return value of createAllDirectories().
Undocumented Changes
No changes were found my automated scripts, other than changes to the undocumented LrAnalytics, which provides internal analytics of the app usage to Adobe.
Copy link to clipboard
Copied
@johnrellis Do you have any idea about how to apply people masking from the SDK? When I try to apply the masking function, LR asks me to select people from the detection.
LrDevelopController.createNewMask( 'aiSelection', 'people' )
Copy link to clipboard
Copied
You can use photo:applyDevelopSettings() to apply the settings for a person mask. To discover what those settings should be, create a person mask on a photo and then dump out photo:getDevelopSettings().
But note that when you do this, or you apply a preset you've created in the Presets panel containing a person mask, LR will automatically convert the mask in the target photo to an "All People" mask, selecting all the persons present in the photo. I haven't found any way around this.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now