Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.
johnrellis
johnrellisCorrect answer
Legend
March 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}

 

 

4 replies

johnrellis
johnrellisCorrect answer
Legend
March 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
Participant
September 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