I am a beginner in Pillow. Basically, I am doing some basic image manipulation task but when I add text to an Image, the text resolution gets break.
Below is my code and image attached.
from PIL import Image, ImageDraw, ImageFont
text = 'Any fool can write code that a computer can understand. \nGood programmers write code that humans can understand.'
font = ImageFont.truetype('Poppins-Bold.ttf', 15 )
im = Image.open("quotes-background.png")
d1 = ImageDraw.Draw(im)
d1.text((60 , 200), text.title(), fill='yellow', font=font)
im.save('quotes.png')