-
Currently what happens is: Recording.2024-10-05.213911.mp4I use this to copy the frames: ...
raw_frames = []
for i in range(self.frame_len):
self.img.seek(i)
raw_frames.append(self.img.copy())
... The only other thing i do is thumbnail the frames and convert them to ImageTk.PhotoImages but the result is the same without thumbnailing APNGs used: http://littlesvr.ca/apng/images/clock.png http://littlesvr.ca/apng/images/blink.png |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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. |
Beta Was this translation helpful? Give feedback.
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
I've created #8443 to address that.