mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Added indicator for multipage tiffs
This commit is contained in:
parent
c2818ee09e
commit
b56d5ca403
|
@ -644,6 +644,7 @@ class ImageFileDirectory_v1(ImageFileDirectory_v2):
|
||||||
ifd = cls(prefix=original.prefix)
|
ifd = cls(prefix=original.prefix)
|
||||||
ifd._tagdata = original._tagdata
|
ifd._tagdata = original._tagdata
|
||||||
ifd.tagtype = original.tagtype
|
ifd.tagtype = original.tagtype
|
||||||
|
ifd.next = original.next # an indicator for multipage tiffs
|
||||||
return ifd
|
return ifd
|
||||||
|
|
||||||
def to_v2(self):
|
def to_v2(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user