ASCII-generator icon indicating copy to clipboard operation
ASCII-generator copied to clipboard

Rendering Colored Output

Open luismqueral opened this issue 6 years ago • 2 comments

Great script, thanks for sharing.

Do you have any thoughts on generating colored ASCII output? Is that possible based on the tools you've strung together?

luismqueral avatar Feb 02 '19 19:02 luismqueral

It is possible by changing a few lines in the code, I'd suggest this as a starting point (specifically make the new image type "RGB" and then providing an rgb triplet for the fill value of the text, but don't forget to change the background value to an rgb triplet too)

https://pillow.readthedocs.io/en/3.0.x/reference/ImageDraw.html

GiorgioPorgio avatar Feb 03 '19 01:02 GiorgioPorgio

Clementree

Shmashmoe avatar Feb 11 '19 15:02 Shmashmoe