Lightroom SDK: photo:getDevelopSettings() - 'Orientation' is always nil.

  • 3
  • Problem
  • Updated 3 years ago
photo:getDevelopSettings() - 'Orientation' is always nil.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 372 Reply Likes

Posted 7 years ago

  • 3
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 372 Reply Likes
How about a fix for this in 4.2? (if it's not too much trouble...).
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 372 Reply Likes
Please, please, please - in Lr6 please.

Although crop settings are not writable as part of a preset, at least they are readable in develop settings.

As far as I know, there is NO WAY to ascertain (possibly changed in Lr) orientation, except by:

* save xmp metadata
* exiftool the orientation

Crop-wise, one can at least readily determine if a photo needs a crop or has a crop.. (applying a crop is another story..). Orientation however requires repeated xmp saving and exiftooling just to determine if orientation has changed (and what it is..). - major bummer in some cases..

PS - photo:getRawMetadata( 'orientation' ) -- would be fine too ;-)

R