I'd like to convert several static GIFs into one animated GIF. Could anyone recommend how to achieve on PA?
Which battery-included library could do it? Are there non-Python program available on PA to do it (Imagemagick, etc)? Or should I ask PA support to install Imagemagick?
Searching around it looks Pillow has gifmaker. https://github.com/python-pillow/Pillow/blob/master/Scripts/gifmaker.py But it seems not included in the version on PA. I copied it to my folder but didn't work with following error:
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/aerialist/.virtualenvs/django152/local/lib/python2.7/site-packages/gifmaker.py", line 81, in makedelta for s in getheader(im) + getdata(im): File "/usr/local/lib/python2.7/dist-packages/PIL/PIL/GifImagePlugin.py", line 351, in getheader s.append(im.im.getpalette("RGB")[:maxcolor*3]) AttributeError: 'NoneType' object has no attribute 'getpalette'
Another one recommended on web is images2gif from visvis. http://visvis.googlecode.com/hg/vvmovie/images2gif.py
Copied it to my folder but no luck...
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/aerialist/.virtualenvs/django152/local/lib/python2.7/site-packages/images2gif.py", line 578, in writeGif gifWriter.writeGifToFile(fp, images, duration, loops, xy, dispose) File "/home/aerialist/.virtualenvs/django152/local/lib/python2.7/site-packages/images2gif.py", line 438, in writeGifToFile fp.write(header.encode('utf-8')) UnicodeDecodeError: 'ascii' codec can't decode byte 0xda in position 6: ordinal not in range(128)
Both seems to be close but not quite...
[edit by admin: formatting]