diff --git a/markup/img.py b/markup/img.py index e6c6a14..242bfb5 100644 --- a/markup/img.py +++ b/markup/img.py @@ -144,7 +144,7 @@ def write_square_or_circle(obj, mediabox, path): if obj["Subtype"] == LIT('Square'): draw.rectangle(obj['Rect'], fill=None, outline='black', width=3) else: - draw.ellipse(*obj['Rect'], fill=None, outline='black', width=3) + draw.ellipse(obj['Rect'], fill=None, outline='black', width=3) # account for the difference in coordinate systems # between pdf and images.