ImageDraw .textsize file parameter must be File code example
Example: font color Imagefont pil
draw.text((margin, offset), line, font=font, fill=(255,0,0,255) )
draw.text((margin, offset), line, font=font, fill=(255,0,0,255) )