I follow the step in Resize GIFs, pil / imagemagick, python to resize images using PILand image2gif. However, I got a resized gif as shown below:
PIL
image2gif
How to solve this problem?
I have not tried this, but this assumes a way to preserve the transparency of GIF images with PIL when saving:
im = Image.open(...) transparency = im.info["transparency"] ... out.save("out.gif", transparency=transparency)