Skip to content

Commit

Permalink
Merge pull request #8298 from uploadcare/missing-CMYK;16B
Browse files Browse the repository at this point in the history
Add missing TIFF CMYK;16B reader
  • Loading branch information
homm committed Aug 11, 2024
2 parents c8b5f0b + 0d79a38 commit a5b415b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PIL/TiffImagePlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@
(II, 5, (1,), 1, (8, 8, 8, 8, 8, 8), (0, 0)): ("CMYK", "CMYKXX"),
(MM, 5, (1,), 1, (8, 8, 8, 8, 8, 8), (0, 0)): ("CMYK", "CMYKXX"),
(II, 5, (1,), 1, (16, 16, 16, 16), ()): ("CMYK", "CMYK;16L"),
(MM, 5, (1,), 1, (16, 16, 16, 16), ()): ("CMYK", "CMYK;16B"),
(II, 6, (1,), 1, (8,), ()): ("L", "L"),
(MM, 6, (1,), 1, (8,), ()): ("L", "L"),
# JPEG compressed images handled by LibTiff and auto-converted to RGBX
Expand Down

0 comments on commit a5b415b

Please sign in to comment.