Lightroom SDK: photo:getFormattedMetadata ("maxAvailHeight") returns string not number

  • 1
  • Problem
  • Updated 4 years ago
photo:getFormattedMetadata ("maxAvailHeight") and ("maxAvailWidth") return strings rather than numbers, as called for by the API documentation. This is an API bug rather than a documentation error, since the IPTC Extension spec defines those fields as integers, and the LR Metadata panel requires them to be input as numeric values.

Tested in LR CC 2015.1 / OS X 10.10.3.
Photo of John R. Ellis

John R. Ellis, Champion

  • 4053 Posts
  • 1067 Reply Likes

Posted 4 years ago

  • 1

Be the first to post a reply!