mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-25 08:10:33 +03:00
Handle APNG chunks
This commit is contained in:
parent
8d0b7e6b57
commit
09e94e40a1
|
@ -526,6 +526,19 @@ class PngStream(ChunkStream):
|
||||||
|
|
||||||
return s
|
return s
|
||||||
|
|
||||||
|
# APNG chunks
|
||||||
|
def chunk_acTL(self, pos, length):
|
||||||
|
s = ImageFile._safe_read(self.fp, length)
|
||||||
|
return s
|
||||||
|
|
||||||
|
def chunk_fcTL(self, pos, length):
|
||||||
|
s = ImageFile._safe_read(self.fp, length)
|
||||||
|
return s
|
||||||
|
|
||||||
|
def chunk_fdAT(self, pos, length):
|
||||||
|
s = ImageFile._safe_read(self.fp, length)
|
||||||
|
return s
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
# PNG reader
|
# PNG reader
|
||||||
|
|
Loading…
Reference in New Issue
Block a user