fix png decode tRNS pattern

This commit is contained in:
David Schmidt 2013-03-21 21:00:25 +01:00
parent ecd55629be
commit 511adfacf7

View File

@ -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.