mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-01 18:33:05 +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
|
colors = 0
|
||||||
direction = -1
|
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
|
# WIN 3.1 or OS/2 2.0 INFO
|
||||||
bits = i16(s[14:])
|
bits = i16(s[14:])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user