TheZoraiz / ascii-image-converter

A cross-platform command-line tool to convert images into ascii art and print them on the console. Now supports braille art!
Apache License 2.0
2.02k stars 121 forks source link

--color-bg is not being applied when saving to a file #24

Open bydioeds opened 2 years ago

bydioeds commented 2 years ago

When using --color-bg the saved image doesn't not have the background filled

This is the output in the terminal.

image

This is the image saved. image-ascii-art.png image-ascii-art

Original image: https://thesungod.xyz/V8mITZeX.jpeg

I'm using version v1.11.0, installed via apt.

TheZoraiz commented 2 years ago

That's actually working as intended. --color-bg was implemented in response to user feedback about ascii / braille art not being clear enough for some images in the terminal. I had not intended to include this feature in saved images, especially since the current implementation only uses escape codes on the terminal.

That said, I suppose it's weird not getting the image output you see in the terminal. I'll look at this more thoroughly soon. Currently busy with some other projects 😅