tags:

views:

58

answers:

2

Hi
I am looking for a command that will draw a circle on an existing image.

im=Image.open(path)

looking for a function that will draw a coloured circle with radious r and center(x,y)

thanks for any help provided Ariel

+3  A: 

Use ImageDraw.ellipse with square bbox like (0,0,10,10), which mean with diameter 10.

S.Mark
+3  A: 
image = Image.open("x.png")
draw = ImageDraw.Draw(image)
draw.ellipse((x+r,y+r,r*2,r*2))
gnibbler