Difference between image-to-ascii and cli?
See original GitHub issueHi, I tried to convert above image using image-to-ascii
and image-to-ascii-cli
.
my code is as below.
const imageToAscii = require("image-to-ascii");
const pxs = ".`:,;'_^\"\\></-!~=)(|j?}{ ][ti+l7v1%yrfcJ32uIC$zwo96sngaT5qpkYVOL40&mG8*xhedbZUSAQ
PFDXWK#RNEHBM@";
imageToAscii("DSC08890.JPG",
{pixels:pxs},
(err, converted) => { console.log(err || converted); }
);
results are
Would you let me know how can I produce ascii image like image-to-ascii-cli
using image-to-ascii
? What options do I need?
Thanks.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Convert Image to ASCII library and cli write in go : r/golang
Image2ASCII is a library that converts images into ASCII images and provides command-line tools for easy use.
Read more >How To Convert Images Into ASCII Format In Linux
This brief guide teaches how to convert images into ASCII format in Linux using Jp2a. Jp2a is a CLI tool to convert the...
Read more >IonicaBizau/image-to-ascii-cli
View images in text format, in your terminal. Contribute to IonicaBizau/image-to-ascii-cli development by creating an account on GitHub.
Read more >Converting an image to ASCII image in Python
ASCII art is a graphic design technique that uses computers for presentation and consists of pictures pieced together from the 95 printable ( ......
Read more >Image to ASCII art in Python - OpenCV (tutorial) - YouTube
Transform / convert image-to-ascii in Python in this beginner-friendly introduction to OpenCV (python). We'll use a set of flag images ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@hansanghoon Ah, change that to
xterm-256color
. You will get 256 colors. ✨What terminal emulator are you using? It looks like the color support is not correctly detected, but you can enforce it by using:
node your-script.js --color=256
More info: https://github.com/chalk/supports-color#info