mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-11 00:32:27 +03:00
fix png decode tRNS pattern
This commit is contained in:
parent
ecd55629be
commit
511adfacf7
|
@ -70,7 +70,7 @@ _MODES = {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
_simple_palette = re.compile(b'^\xff+\x00+$')
|
_simple_palette = re.compile(b'^\xff+\x00\xff*$')
|
||||||
|
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
# Support classes. Suitable for PNG and related formats like MNG etc.
|
# Support classes. Suitable for PNG and related formats like MNG etc.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user