mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
fix I;16 mode
This commit is contained in:
parent
ba92896a53
commit
9ee1f58215
|
@ -17,6 +17,9 @@ def convert_to_comparable(a, b):
|
|||
new_b = Image.new('L', b.size)
|
||||
new_a.putdata(a.getdata())
|
||||
new_b.putdata(b.getdata())
|
||||
elif a.mode == 'I;16':
|
||||
new_a = a.convert('I')
|
||||
new_b = b.convert('I')
|
||||
return new_a, new_b
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user