This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Author: Justin Lintz | |
# usage: ./focal_length dir | |
# Requiresments: dcraw http://www.cybercom.net/~dcoffin/dcraw/ | |
import os | |
import sys | |
from subprocess import Popen, PIPE | |
from operator import itemgetter | |
DCRAW='dcraw' # or /path/to/dcraw |