mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 09:26:16 +03:00
Revert unintentional change
This commit is contained in:
parent
f2dfd0bfb3
commit
cc45886bc3
|
@ -229,7 +229,7 @@ class BmpImageFile(ImageFile.ImageFile):
|
||||||
palette = read(padding * file_info["colors"])
|
palette = read(padding * file_info["colors"])
|
||||||
greyscale = True
|
greyscale = True
|
||||||
indices = (
|
indices = (
|
||||||
(0, file_info["colors"])
|
(0, 255)
|
||||||
if file_info["colors"] == 2
|
if file_info["colors"] == 2
|
||||||
else list(range(file_info["colors"]))
|
else list(range(file_info["colors"]))
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user