asciify icon indicating copy to clipboard operation
asciify copied to clipboard

How to remove those background white dots that appear in the ascii version?

Open ishank-dev opened this issue 4 years ago • 2 comments

ishank-dev avatar Mar 25 '20 17:03 ishank-dev

Somewhat late, but if you have sed installed you can pipe the output of asciify into sed to replace .'s with spaces:

python3 ./asciify.py ./image.png | sed 's/\./ /g'

m-simonelli avatar Oct 18 '20 01:10 m-simonelli

Thanks for sharing a solution. While the way to change the actual implementation would be to replace ASCII_CHARS[-1] with a blank space character, the solution described above would be better since it's entirely user-facing.

RameshAditya avatar Oct 18 '20 05:10 RameshAditya