Trying to create a transparent gif with PIL. So far I have this:
from PIL import Image
img = Image.new('RGBA', (100, 100), (255, 0, 0, 0))
img.save("test.gif", "GIF", transparency=0)
Everything I've found so far refers to manipulating an existing image to adjust it's transparency settings or overlaying a transparent image onto another. I merely want to create a transparent GIF (to then draw onto).
The following script creates a transparent GIF with a red circle drawn in the middle:
and for PNG format: