因为我的图片的单通道的,所以用 draw = ImageDraw.Draw(image) im_width, im_height =], info[], info[], info[]) color=define.STANDARD_COLORS[info[]%len(define.STANDARD_COLORS)] draw.line([(left, top), (left, bottom), (right, bottom),(right, top), (left, top)], width=,…