Commit c7f997d
committed
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.1 parent 1478a1b commit c7f997d
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1910 | 1910 | | |
1911 | 1911 | | |
1912 | 1912 | | |
1913 | | - | |
| 1913 | + | |
| 1914 | + | |
| 1915 | + | |
1914 | 1916 | | |
1915 | 1917 | | |
1916 | 1918 | | |
| |||
0 commit comments