Saving PIL images to an animated GIF
-
I am trying to save a couple of PIL images into a GIF with something like
img[0].save('test.gif', save_all=True, append_images=img[1:])
This works well on a Windows machine, but on Pythonista, it seems to save only the first image,in other words, not animated.
Does this have to do with the version of PIL?
Is there a workaround?
-
people have used images2gif successfully.
https://forum.omz-software.com/topic/2052/gif-art-in-pythonPILlow in pythonista is version 2.9. append_images was added in like 3.4-
-
@jonb
Thanks for pointing me in the direction of images2gif. That seems to work, but it is painfully slow. Pity Pythonista does not include a more recent version of PIL(low).@omz
Please update Pythonista to a more recent version of PIL(low).