mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
108 and 124 bit header fields are a superset of the 64 bit header
This commit is contained in:
parent
ff417ceaac
commit
6de70524f7
|
@ -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:])
|
||||
|
|
Loading…
Reference in New Issue
Block a user