Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- manl = man_pars[x:y]
- image1 = Image.open("tet.jpg")
- draw = ImageDraw.Draw(image1)
- font = ImageFont.truetype("arial.ttf", size=39)
- draw.text((10, 5), manl, fill=(0, 33, 55), font=font)
- num += 1
- image1.save("img" + str(num) + ".jpg")
Add Comment
Please, Sign In to add comment