Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Changes to the Lightroom 12.0 SDK

LEGEND ,
Nov 10, 2022 Nov 10, 2022

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.

 

 

 

 

 

TOPICS
macOS , SDK , Windows
278
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 22, 2022 Nov 22, 2022

@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' )

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 22, 2022 Nov 22, 2022
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines