draw.ellipse([left, top, right, bottom], fill=fill)
mask = mask.resize(image.size, Image.LANCZOS)
image.paste(outline, mask=mask)
image = Image.new(mode='RGB', size=(700, 300), color='green')
ellipse_box = [50, 50, 300, 250]
draw_ellipse(image, ellipse_box, width=20)
draw_ellipse(image, ellipse_box, outline='black', width=0.5, antialias=8)
ellipse_box[0] += 350
ellipse_box[2] += 350
draw_ellipse(image, ellipse_box, width=20, antialias=1)
draw_ellipse(image, ellipse_box, outline='black', width=1, antialias=1)
image.show()
Нарисуйте эллипс в Python PIL с толщиной линии