Create an image from text?
I'm trying to figure out a way to take a string of text and make an automatically-sized image based on it.
Lets say I have a message that is 20 words... I want to define a static width and then create an image with a white background and black text that contains those 20 words. It would have to word-wrap within the confines of the static width and also be able to grow in height. I've also entertained the idea of the font-size shrinking as needed to fit the confines of the specified image dimensions.
I've looked at some libraries like Magick.NET but I'm really having trouble figuring this out. (I am on .NET 4.7.2, no CORE here)
0 comments:
Post a Comment