mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
Add comma to make a tuple
This commit is contained in:
parent
a9707e0a6f
commit
6a648c9ce7
|
@ -22,7 +22,7 @@ from ._binary import i32le as i32
|
||||||
# we map from colour field tuples to (mode, rawmode) descriptors
|
# we map from colour field tuples to (mode, rawmode) descriptors
|
||||||
MODES = {
|
MODES = {
|
||||||
# opacity
|
# opacity
|
||||||
(0x00007FFE): ("A", "L"),
|
(0x00007FFE,): ("A", "L"),
|
||||||
# monochrome
|
# monochrome
|
||||||
(0x00010000,): ("L", "L"),
|
(0x00010000,): ("L", "L"),
|
||||||
(0x00018000, 0x00017FFE): ("RGBA", "LA"),
|
(0x00018000, 0x00017FFE): ("RGBA", "LA"),
|
||||||
|
@ -162,7 +162,7 @@ class FpxImageFile(ImageFile.ImageFile):
|
||||||
"raw",
|
"raw",
|
||||||
(x, y, x + xtile, y + ytile),
|
(x, y, x + xtile, y + ytile),
|
||||||
i32(s, i) + 28,
|
i32(s, i) + 28,
|
||||||
(self.rawmode),
|
(self.rawmode,),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user