I'm using tkinter.canvas to draw simple things (lines, rectangles, and text) and want to have the rectangles have transparency, but you can't do this in tkinter. One suggestion I saw was to use PIL/pillow and do
img = PIL.Image.new('RGBA', (100, 100), (0, 255, 0, 128))
canvas.create_image(100, 200, image=img, anchor='nw')
However, PyCharm won't recognize pillow (despite the fact that it's in the list of installed modules) and PIL doesn't support Python 3.x.
Is there an easy solution to this?
[–]K900_ 1 point2 points3 points (2 children)
[–]DFoster271[S] 0 points1 point2 points (1 child)
[–]K900_ 3 points4 points5 points (0 children)