How to draw transparent polygons?
This is for Pillow, a more maintained fork of PIL. http://pillow.readthedocs.org/ If you want to draw polygons that are transparent, relative to each other, the base Image has to be of type RGB, not RGBA, and the ImageDraw has to be of type RGBA. Example: from PIL import Image, ImageDraw img = Image.new(‘RGB’, (100, 100)) … Read more