My current code will always generate these N different styles with fixed white background and fixed red character color. lets suppose N=3 all in different styles e.g. The fonts variable in my code has N number of ".ttf" files. Is this possible with my current code? I have seen this post but it didn't help me.Ĭurrently, I am generating English alphabet images from font files using PIL. What I want now is that instead of pure red or any other color I can generate a gradient color. For the current example, it generates a white background image and a red character text. I have the function that generates character images from a font file using PIL.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |