V
V
vladragone2022-04-17 12:50:17
Python
vladragone, 2022-04-17 12:50:17

How to make a shape semi-transparent PIL?

Hello. Learning to work with PIL
I want to draw an ellipse (draw.ellipse) and make it semi-transparent. are there implementation options?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2022-04-17
@sergey-gornostaev

Obviously use a canvas with an alpha channel and draw a shape with a fill that has an alpha value less than 255.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question