mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-12 17:40:51 +03:00
reverted to original as change no longer necessary
This commit is contained in:
parent
fbcf1b617a
commit
6a5878db12
|
@ -209,7 +209,8 @@ class BmpImageFile(ImageFile.ImageFile):
|
|||
else:
|
||||
raise OSError("Unsupported BMP bitfields layout")
|
||||
elif file_info["compression"] == self.RAW:
|
||||
pass
|
||||
if file_info["bits"] == 32 and header == 22: # 32-bit .cur offset
|
||||
raw_mode, self.mode = "BGRA", "RGBA"
|
||||
elif file_info["compression"] == self.RLE8:
|
||||
decoder_name = "bmp_rle"
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user