Skip to content

Commit

Permalink
Merge pull request #1 from radarhere/1-support-for-16-bit-integer-tiffs
Browse files Browse the repository at this point in the history
Changed mode to I;16
  • Loading branch information
JayWiz committed Oct 5, 2022
2 parents 802a143 + 0fd1108 commit 49aca04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PIL/TiffImagePlugin.py
Expand Up @@ -169,11 +169,11 @@
(II, 0, (1,), 2, (8,), ()): ("L", "L;IR"),
(MM, 0, (1,), 2, (8,), ()): ("L", "L;IR"),
(II, 1, (1,), 1, (8,), ()): ("L", "L"),
(II, 0, (1,), 1, (16,), ()): ("I", "I;16"),
(MM, 1, (1,), 1, (8,), ()): ("L", "L"),
(II, 1, (1,), 2, (8,), ()): ("L", "L;R"),
(MM, 1, (1,), 2, (8,), ()): ("L", "L;R"),
(II, 1, (1,), 1, (12,), ()): ("I;16", "I;12"),
(II, 0, (1,), 1, (16,), ()): ("I;16", "I;16"),
(II, 1, (1,), 1, (16,), ()): ("I;16", "I;16"),
(MM, 1, (1,), 1, (16,), ()): ("I;16B", "I;16B"),
(II, 1, (1,), 2, (16,), ()): ("I;16", "I;16R"),
Expand Down

0 comments on commit 49aca04

Please sign in to comment.