Implementation of circle border with PIL.

def circles_pil(width, height, color):
    """ Implementation of circle border with PIL. """

    image = Image.new("RGBA", (width, height), color=None)
    draw = ImageDraw.Draw(image)
    draw.ellipse((0, 0, width - 1, height - 1), fill=color)
    image.save('circles.png')