IonicaBizau/image-to-ascii

256 colors

pm0u opened this issue · 3 comments

pm0u commented

It seems in my terminal, images only ever display with 16 colors, although my terminal is capable of 256.. Is this an issue with my terminal or a limitation of image-to-ascii? 256 color support would be amazing!

What is the operating system / terminal you are using?

pm0u commented

I'm am using Termite and archlinux. I can get you more specific version info if needed

Try setting the FORCE_COLOR env variable:

# 16 colors
FORCE_COLOR=1 node example

# 256 colors
FORCE_COLOR=2 node example

# 16M colors
FORCE_COLOR=3 node example