Lightroom SDK: Documentation error in catalog:findPhotos(), criteria = "shutterSpeed"

  • 2
  • Problem
  • Updated 7 years ago
  • (Edited)
The documentation for catalog:findPhotos() fails to mention "shutterSpeed". Note that a shutter speed value of "t" is encoded in the "value" and "value2" arguments as log (base 2) of 1/t.

As an aside, this encoding seems unnecessary given Lua's 64-bit floats.
Photo of John R. Ellis

John R. Ellis, Champion

  • 3690 Posts
  • 963 Reply Likes

Posted 7 years ago

  • 2
Photo of John R. Ellis

John R. Ellis, Champion

  • 3690 Posts
  • 963 Reply Likes
Ditto for "aperture". The "value" and "value2" arguments for an aperture value of "t" are encoded as 2 * log (base 2) of t.