I have a python program that craetes a png file with a circle on it. Now I want this circle to be semi transparent, given an alpha value.
Here is what I do:
<
I used Image.composite(background, foreground, mask) to mask a semi transparent circle on a foreground.
Image.composite(background, foreground, mask)
I followed the instructions from here: Merging background with transparent image in PIL
Thanks to @gareth-res