Answer by kalehmann for How to create an image from a string?
You can use the PIL.Image.frombytes methodimport PILmy_string =...
View ArticleAnswer by Magellan88 for How to create an image from a string?
you could try matplotlib:import matplotlib.pyplot as pltplt.text(0,0,mystring)plt.savefig("mysentence.png", dpi=100)
View ArticleHow to create an image from a string?
I'm trying to create an image file from a string, but so far I have not had any luck. Using ImageDraw I can print a string on an image file, but this is not what I intend to do. I want to generate just...
View Article
More Pages to Explore .....