Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug handling large PNG files containing multiple data chunks in one frame #13

Closed
bpotard opened this issue Feb 1, 2019 · 0 comments · Fixed by #12
Closed

Bug handling large PNG files containing multiple data chunks in one frame #13

bpotard opened this issue Feb 1, 2019 · 0 comments · Fixed by #12

Comments

@bpotard
Copy link
Contributor

bpotard commented Feb 1, 2019

There is a rather serious issue when handling large PNG files at the moment. The following code:

from apng import APNG

im = APNG.open("test_large.apng")
im.frames[0][0].save("frame0.png")

generates broken png files for individual frames, if a frame contain more that one data chunk.
cf. #12 for a fix.

@eight04 eight04 changed the title Bug handling large PNG files Bug handling large PNG files containing multiple data chunks in one frame Feb 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant