Posted by Scott Laird
Fri, 16 Nov 2007 13:40:45 GMT
It looks like Lightroom 1.3 is out. More excitingly, the Lightroom Export SDK is now available. I guess it’s time to learn Lua.
I might wait until after next week’s vacation to pick up Lua, though. I have a beach calling my name.
Tags lightroom, lua | 1 comment
Posted by Scott Laird
Tue, 17 Apr 2007 15:11:30 GMT
One of the things that I’ve wished for in Lightroom is a focal-length histogram. I’d love to be able to select a bunch of pictures and ask “which focal lengths did I use most often?” I mean, I know which lenses I use most often, but which focal lengths do I actually use?
Fortunately, it’s not too hard to do this outside of Lightroom. Just turn on XMP auto-exporting and then use the usual set of Unix tools to summarize a few thousand XML files. I used something like this:
$ find . -name '*.xmp' | xargs grep -h 'exif:FocalLength' |
cut -d '>' -f2 | cut -d '/' -f1 | sort -n | uniq -c
That finds all of the .xmp files in the current directory (and subdirectories), extracts their exif:FocalLength lines, then extracts the actual focal length number, sorts them numerically, and then counts how many occurrences of each focal length it sees.
I ran this over all of the pictures that I took while on vacation, and found a couple interesting patterns. First, I usually shoot with lenses at either their short or long end; the middle of the range gets a lot less use. My most common focal lengths were
| Focal Length (lens) | Number of shots |
| 70mm (24-70 or 70-200) | 846 |
| 400mm (100-400) | 409 |
| 100mm (100-400) | 312 |
| 200mm (70-200) | 304 |
| 24mm (24-70) | 291 |
| 85mm (85/1.8) | 284 |
A graph is (as usual) a bit more informative:
I shoot a lot of pictures in the 24-100mm range. 70mm is the most common, but the 35, 45, 55, and 65mm lines are all pretty big. It looks like I use my 24-70mm lens in the middle of its range quite a bit, while my longer lenses mostly get used at their extremes.
Tags lightroom, photography | 3 comments