Open scpedicini opened 1 year ago
The color palette defaults to 4bit color (16 colors) you'll need to change your color depth to get more colors
If you want 256 coors:
var Color = require('ascii-art-ansi/colors');
Color.is256 = true;
If you want millions of colors:
var Color = require('ascii-art-ansi/colors');
Color.isTrueColor = true;
Is there a functional difference between this lib and
ascii-art-image
?I got
ascii-art-image
working, although the color palette is.... pretty bad on iTerm2 and I can't get it to display a better looking image unfortunately for a passed in RGB png file:Original:![image](https://github.com/khrome/ascii-art/assets/2040540/da31d43b-bbd3-44c9-a317-4930dcf5b103)
Output:![CleanShot 2023-05-22 at 16 23 10@2x](https://github.com/khrome/ascii-art/assets/2040540/7235bb4c-adee-4829-bbf3-37f0aa539509)