PIL query image dpi

Use PIL to harvest image dpi from the tiff metadata, because it is more
consistent than Gamera.