def draw_rectangle(drawing, coordinates, color, width=1):
    for i in range(width):
        rect_start = coordinates[0][0] - i, coordinates[0][1] - i
rect_end = coordinates[1][0] + i, coordinates[1][1] + i
draw.rectangle((rect_start, rect_end), outline=color)
im = Image.open(image_path)
draw = ImageDraw.Draw(im)
top_left = 50, 50
bottom_right = 100, 100
outline_width = 10
outline_color = 'black'
draw_rectangle(draw, (top_left, bottom_right), color=outline_color, width=
    outline_width)
Есть ли способ указать ширину прямоугольника в PIL?