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

P: SDK: Provide photo:updateAISettings () to update the AI settings of a photo

LEGEND ,
Nov 24, 2022 Nov 24, 2022

Copy link to clipboard

Copied

There's currently no way for a plugin to update the AI settings for a photo. For example, users of my Copy Settings plugin must do a manual Update AI Settings after copying masks.  If there were photo:updateAISettings(), then Copy Settings could save users that manual step.

Idea No status
TOPICS
macOS , SDK , Windows

Views

963

Translate

Translate

Report

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
3 Comments
Explorer ,
Jan 05, 2024 Jan 05, 2024

Copy link to clipboard

Copied

In order to make AI masks truely usable from the SDK, some way to trigger the Update AI Settings is essential. Doing this as proposed by @John R Ellis would be perfect. Otherwise at least being able to trigger the batch Dialog to update the AI Setttings from the Application or Catalog with a set of photos would also be a option.

Votes

Translate

Translate

Report

Report
Community Expert ,
May 21, 2024 May 21, 2024

Copy link to clipboard

Copied

photo:updateAISettings() has been added in the 13.3 release.

Votes

Translate

Translate

Report

Report
Explorer ,
May 22, 2024 May 22, 2024

Copy link to clipboard

Copied

LATEST

Thats great!

 

one thing i noticed when using it:

When i do 

photo:applyDevelopSettings(settings)
photo:updateAISettings()
within one catalog:withWriteAccessDo block, it does not seem to know the new settings already and therefore does not calculate the new masks.
If i split them into two catalog:withWriteAccessDo, first applying the settings and then updating ai settings, it seems to work. Not sure if thats the intended behaviour, or if it should rather take the new settings into account directly?
 
Also, if i loop over multiple photos and trigger updateAISettings for all of them, there will be one dialog popping up for every photo, one after the other, always just processing 1 photo. Maybe some way to batch this (since the dialog supports running for multiple photos) would be nice.

Also, if i can be of help in testing new implementations upfront, before the release, let me know. I'd be happy to beta test.

Votes

Translate

Translate

Report

Report