semicolons

This commit is contained in:
wiredfool 2017-12-27 15:33:30 +00:00
parent 4b3bdcd9df
commit eab851c61b

View File

@ -1267,10 +1267,10 @@ class TiffImageFile(ImageFile.ImageFile):
# byte order. # byte order.
if rawmode == 'I;16': if rawmode == 'I;16':
rawmode = 'I;16N' rawmode = 'I;16N'
if '16B' in rawmode: if ';16B' in rawmode:
rawmode = rawmode.replace('16B', '16N') rawmode = rawmode.replace(';16B', ';16N')
if '16L' in rawmode: if ';16L' in rawmode:
rawmode = rawmode.replace('16L', '16N') rawmode = rawmode.replace(';16L', ';16N')
# Offset in the tile tuple is 0, we go from 0,0 to # Offset in the tile tuple is 0, we go from 0,0 to