Replies: 1 comment 2 replies
-
I think this question came up before, I will see if I can dig out what I did then. You can open a multiframe gif image using pillow (as you found out, that's what pi3d uses) but to get the additional frames you need to seek between them along the lines of (line 74 or so in PictureFrame ...
im = Image.open(fname)
im.seek(f_num)
... However for this to work you would have to initially get the number of frames (easy enough using Additionally the speed of the the RPi GPU system used by pi3d in PictureFrame is going to be rather limited, certainly for high resolution pictures (i.e. bigger than 640x480). Obviously if you wanted to mix fast fast frame changing withing a gif but slow frame changing from one image to the next you would have to figure out additional mechanisms to ensure that happened (Probably the animation of the gif could only start after the fading had finished) |
Beta Was this translation helpful? Give feedback.
-
I managed to show .gif-Files but only as a steady image.
Is there a way to show gif or LivePhotos (like taken on iOS) or is this not a function of
pi3d
but ofPillow
?Beta Was this translation helpful? Give feedback.
All reactions