from PIL import ImageFont, ImageDraw, Image

im_pil = Image.new("RGB",[320,320])
m_text = u"ひらがな - Hiragana, 히라가나"
draw = ImageDraw.Draw(im_pil)
u_font = ImageFont.truetype("arial-unicode-ms.ttf", 15)
draw.text((50, 50), m_text, font=u_font, fill=(0, 0, 255))
im_pil.save("a.png")

2d3ee0fde385443b16291e5f107c1b1d6487d6a3
<mask token>

<mask token>
draw.text((50, 50), m_text, font=u_font, fill=(0, 0, 255))
im_pil.save('a.png')

<mask token>
im_pil = Image.new('RGB', [320, 320])
m_text = u'ひらがな - Hiragana, 히라가나'
draw = ImageDraw.Draw(im_pil)
u_font = ImageFont.truetype('arial-unicode-ms.ttf', 15)
draw.text((50, 50), m_text, font=u_font, fill=(0, 0, 255))
im_pil.save('a.png')

from PIL import ImageFont, ImageDraw, Image
im_pil = Image.new('RGB', [320, 320])
m_text = u'ひらがな - Hiragana, 히라가나'
draw = ImageDraw.Draw(im_pil)
u_font = ImageFont.truetype('arial-unicode-ms.ttf', 15)
draw.text((50, 50), m_text, font=u_font, fill=(0, 0, 255))
im_pil.save('a.png')

from PIL import ImageFont, ImageDraw, Image

im_pil = Image.new("RGB",[320,320])
m_text = u"ひらがな - Hiragana, 히라가나"
draw = ImageDraw.Draw(im_pil)
u_font = ImageFont.truetype("arial-unicode-ms.ttf", 15)
draw.text((50, 50), m_text, font=u_font, fill=(0, 0, 255))
im_pil.save("a.png")
