mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-05 21:10:11 +03:00
Adds fix for a kind of TIFF
This commit is contained in:
parent
73eafbb55f
commit
ae4e3bbcce
|
@ -264,7 +264,7 @@ class ImageFileDirectory(collections.MutableMapping):
|
||||||
if self.prefix == MM:
|
if self.prefix == MM:
|
||||||
self.i16, self.i32 = ib16, ib32
|
self.i16, self.i32 = ib16, ib32
|
||||||
self.o16, self.o32 = ob16, ob32
|
self.o16, self.o32 = ob16, ob32
|
||||||
elif self.prefix == II:
|
elif self.prefix in (II, '\xf5\xf5', ):
|
||||||
self.i16, self.i32 = il16, il32
|
self.i16, self.i32 = il16, il32
|
||||||
self.o16, self.o32 = ol16, ol32
|
self.o16, self.o32 = ol16, ol32
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user