mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 01:04:29 +03:00
Fix failing tests, turns out I is different than L
This commit is contained in:
parent
88e235f3f5
commit
398450a5e4
|
@ -146,7 +146,7 @@ def _save(im, fp, filename):
|
|||
if head == b"P6":
|
||||
fp.write(b"255\n")
|
||||
if head == b"P5":
|
||||
if rawmode == "I":
|
||||
if rawmode == "L":
|
||||
fp.write(b"255\n")
|
||||
elif rawmode == "I;16B":
|
||||
fp.write(b"65535\n")
|
||||
|
|
Loading…
Reference in New Issue
Block a user