Skip to main content
Alpino
Participating Frequently
May 29, 2023
Question

photo:getRawMetadata , list of keys available?

  • May 29, 2023
  • 1 reply
  • 973 views

I'm looking for a list of keys for photo:getRawMetadata for a LrC-Plugin.

I found only some of them in examples or so, like bitDepth and width. Also lens works, but trail and error to find all of them?

I need to get cropped_width and height, focal length and focal length 35mm, at least all of them...

Search in developer-cockpit gives no results for getRawMetedata.

Thanks

This topic has been closed for replies.

1 reply

johnrellis
Legend
May 29, 2023

The API Reference in the SDK lists all the available keys for photo:getRawMetadata (). If you're not familiar with the reference, here's where it's located in the SDK:

 

 

Also, if you call photo:getRawMetadata () with no arguments, it will return a table of all the non-nil key/value pairs for that photo:

 

 

johnrellis
Legend
May 29, 2023

Moderators, @Rikk Flohr: Photography, please add this to the SDK topic.