Answer by Alex Jadczak for PIL: draw transparent text on top of an image
This should work for you.from PIL import Image, ImageDraw, ImageFontimage = Image.open("spongebob.gif").convert("RGBA")txt = Image.new('RGBA', image.size, (255,255,255,0))font =...
View ArticlePIL: draw transparent text on top of an image
In a project I have, I am trying to create an outline over some text. The overall idea is to offset a black text slightly transparent from the original white text.For some reasons, I get the black text...
View Article
More Pages to Explore .....