Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PIL imageText
#3
(Aug-20-2017, 05:25 PM)Larz60+ Wrote: You can find the complete document here: http://pillow.readthedocs.io/en/4.1.x/ha...index.html
and specific to your problem here http://pillow.readthedocs.io/en/4.1.x/re...=draw.text
Yes, I aleardy read that but don't know the option field, the links above do not explain clearly, that's why I ask in the first place. Please tell me the actual workink code, I tried this font = ImageFont.truetype("/usr/share/fonts/dejavu/DejaVuSans.ttf",25) and font = ImageFont.truetype("arial") both give me error.
Reply


Messages In This Thread
PIL imageText - by tony1812 - Aug-20-2017, 05:01 PM
RE: PIL imageText - by Larz60+ - Aug-20-2017, 05:25 PM
RE: PIL imageText - by tony1812 - Aug-20-2017, 07:31 PM
RE: PIL imageText - by Larz60+ - Aug-20-2017, 09:32 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020