Wide Outline Python Image Library Ellipse

When creating an ellipse with PIL, is it possible to have a thicker / wider outline? I am currently trying to do canvas.ellipse(box, outline=colour, fill=None)

, but would like to be able to specify the outline

width parameter .

+2


source to share


1 answer


You can use the aggdraw plug-in for PIL - with it, the ellipse drawing method, like the others, accepts an object pen

that you can render with your favorite width (as well as color and opacity).



+1


source







All Articles