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

SDK Auto straighten with a plug-in

Participant ,
Mar 17, 2023 Mar 17, 2023

Is there a way to "Auto straighten" from a plug-in using the Lr SDK?

TOPICS
SDK
705
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

correct answers 1 Correct answer

LEGEND , Mar 18, 2023 Mar 18, 2023

There's no way to invoke the Auto bottom of the Crop panel via the SDK. But a plugin can invoke Transform > Level via

 

photo:applyDevelopSettings {EnableTransform = true, PerspectiveUpright = 3}

 

 

Translate
LEGEND ,
Mar 18, 2023 Mar 18, 2023

There's no way to invoke the Auto bottom of the Crop panel via the SDK. But a plugin can invoke Transform > Level via

 

photo:applyDevelopSettings {EnableTransform = true, PerspectiveUpright = 3}

 

 

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
New Here ,
Sep 10, 2023 Sep 10, 2023

There is a straightenAngle parameter documented in LrDevelopController but it looks like that is just for specifying a specific rotation angle to apply.

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 ,
Sep 16, 2023 Sep 16, 2023
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 ,
Sep 16, 2023 Sep 16, 2023
LATEST
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