3 ms·
All of these are done, just need to get my friend to add me to the crate and publish on crates.io. I also managed to drop the size of colored images by a ton!
by RGBCube 3y ago
All of these are done, just need to get my friend to add me to the crate and publish on crates.io.
I also managed to drop the size of colored images by a ton! Look at this difference:
### Before:
RASCII on master [$] is v0.3.0 via v1.71.0-nightly took 2s
> ./target/debug/rascii ~/Downloads/cuddlyferris.png --color | save -f ferris.ansi
RASCII on master [$] is v0.3.0 via v1.71.0-nightly
> ls | find ferris
╭───┬─────────────┬──────┬──────────┬──────────╮
│ # │ name │ type │ size │ modified │
├───┼─────────────┼──────┼──────────┼──────────┤
│ 0 │ ferris.ansi │ file │ 395.5 KB │ now │
╰───┴─────────────┴──────┴──────────┴──────────╯
### After:
RASCII on master [+] is v0.3.1 via v1.71.0-nightly
> ./target/debug/rascii ~/Downloads/cuddlyferris.png --color | save -f ferris.ansi
RASCII on master [+] is v0.3.1 via v1.71.0-nightly
> ls | find ferris
╭───┬─────────────┬──────┬─────────┬──────────╮
│ # │ name │ type │ size │ modified │
├───┼─────────────┼──────┼─────────┼──────────┤
│ 0 │ ferris.ansi │ file │ 83.1 KB │ now │
╰───┴─────────────┴──────┴─────────┴──────────╯
Also newlines are clean now, so you can append text onto each lines end and have it not be colored.