Skip to content

How to properly copy a APNG into a ImageTk.PhotoImage list (used for animations) while properly blending it with the previous frames #8440

Answered by radarhere
maj113 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi. Your problem isn't necessarily anything to do with ImageTk - Pillow is having a problem handling your image by itself.

You can see this by running

from PIL import Image

with Image.open("blink.png") as im:
    im.seek(1)
    im.save("out.png")

I've created #8443 to address that.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@maj113
Comment options

Answer selected by maj113
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants