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

  • 1
  • Problem
  • Updated 3 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

  • 3709 Posts
  • 968 Reply Likes

Posted 3 years ago

  • 1

Be the first to post a reply!