108 and 124 bit header fields are a superset of the 64 bit header

This commit is contained in:
wiredfool 2014-01-26 20:43:21 -08:00
parent ff417ceaac
commit 6de70524f7

View File

@ -82,7 +82,7 @@ class BmpImageFile(ImageFile.ImageFile):
colors = 0
direction = -1
elif len(s) in [40, 64]:
elif len(s) in [40, 64, 108, 124]:
# WIN 3.1 or OS/2 2.0 INFO
bits = i16(s[14:])