Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering Colored Output #2

Open
luismqueral opened this issue Feb 2, 2019 · 2 comments
Open

Rendering Colored Output #2

luismqueral opened this issue Feb 2, 2019 · 2 comments

Comments

@luismqueral
Copy link

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?

@GiorgioPorgio
Copy link

GiorgioPorgio commented Feb 3, 2019

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

@Shmashmoe
Copy link

Clementree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants