trying to scale or limit text size on image when using Pillow
I’m trying to ensure that when text exceeds the width of the image (variable images sizes) that the text gets scaled down to fit aesthetically.
Draw a filled polygon with fill color *inside* the outline
I want to draw a polygon as an outline and fill it with a specific color. This should be an easy enough task for PIL
… Unfortunately the fill
argument produces an image that bleeds out of the outline… Demonstration: