mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Merge pull request #7996 from radarhere/tiff_px
This commit is contained in:
commit
02915c778e
|
@ -245,6 +245,7 @@ OPEN_INFO = {
|
||||||
(MM, 3, (1,), 2, (4,), ()): ("P", "P;4R"),
|
(MM, 3, (1,), 2, (4,), ()): ("P", "P;4R"),
|
||||||
(II, 3, (1,), 1, (8,), ()): ("P", "P"),
|
(II, 3, (1,), 1, (8,), ()): ("P", "P"),
|
||||||
(MM, 3, (1,), 1, (8,), ()): ("P", "P"),
|
(MM, 3, (1,), 1, (8,), ()): ("P", "P"),
|
||||||
|
(II, 3, (1,), 1, (8, 8), (0,)): ("P", "PX"),
|
||||||
(II, 3, (1,), 1, (8, 8), (2,)): ("PA", "PA"),
|
(II, 3, (1,), 1, (8, 8), (2,)): ("PA", "PA"),
|
||||||
(MM, 3, (1,), 1, (8, 8), (2,)): ("PA", "PA"),
|
(MM, 3, (1,), 1, (8, 8), (2,)): ("PA", "PA"),
|
||||||
(II, 3, (1,), 2, (8,), ()): ("P", "P;R"),
|
(II, 3, (1,), 2, (8,), ()): ("P", "P;R"),
|
||||||
|
|
|
@ -1582,6 +1582,7 @@ static struct {
|
||||||
{"P", "P", 8, copy1},
|
{"P", "P", 8, copy1},
|
||||||
{"P", "P;R", 8, unpackLR},
|
{"P", "P;R", 8, unpackLR},
|
||||||
{"P", "L", 8, copy1},
|
{"P", "L", 8, copy1},
|
||||||
|
{"P", "PX", 16, unpackL16B},
|
||||||
|
|
||||||
/* palette w. alpha */
|
/* palette w. alpha */
|
||||||
{"PA", "PA", 16, unpackLA},
|
{"PA", "PA", 16, unpackLA},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user