XD blog

blog page

anime, gif, python


2013-03-16 Create Anime Gif in Python

Creating an animated gif does not seem to be an easy task. Some people recommend to use the library PIL which is not maintained anymore and does not work on Python 3 according to the website. Some others prefer to use PyGame to animate the gif themselves (see this post, it contains some simple examples on how to do it). Some others recommend to use ImageMagick (see this post or this one).

I tried the solution using ImageMagick. It should be working as it is. You will need too files (you just have to copy paste them in a folder, keep the same name)

The second one calls the first to make the example works. It downloads ImageMagick and process your files following the instructions introduced in the blogs post linked above.


<-- -->

Xavier Dupré