matplotlib/matplotlib — pull request #1226 by efiring (2012-09-09 23:05:53+00:00)
Title: Add dpi kwarg to PIL image.save method for TIFF file.

This corrects a bug in which the tiff image metadata was set to a
default dpi of 72 regardless of the actual dpi. At least some
image viewers, including Preview on the Mac, do not use this
dpi metadata, even though they can display it, so fixing this
bug does not correct the erroneous display of the image on such
viewers.