Skip to content
Discussion options

You must be logged in to vote

If by 'improve this error', you mean that you would like to fix your problem, you are drawing an ellipse - https://pillow.readthedocs.io/en/stable/reference/ImageDraw.html#PIL.ImageDraw.ImageDraw.ellipse

ImageDraw.ellipse(xy, fill=None, outline=None, width=1)
Draws an ellipse inside the given bounding box.

Parameters:
xy – Two points to define the bounding box. Sequence of either [(x0, y0), (x1, y1)] or [x0, y0, x1, y1], where x1 >= x0 and y1 >= y0.

In the co-ordinates you provided to ImageDraw.ellipse(), the second x co-ordinate must be greater than or equal to the first x co-ordinate.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@radarhere
Comment options

Answer selected by radarhere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants