ansi2png-rs

Crates.ioansi2png-rs
lib.rsansi2png-rs
version0.4.0
created_at2021-06-04 19:39:55.419925+00
updated_at2025-04-04 12:28:38.677451+00
descriptionConvert ansi output to pngs
homepagehttps://github.com/AlexanderThaller/ansi2png-rs
repositoryhttps://github.com/AlexanderThaller/ansi2png-rs
max_upload_size
id406243
size19,613,508
Alexander Thaller (AlexanderThaller)

documentation

https://docs.rs/ansi2png-rs/

README

ansi2png-rs

Read ansi sequences from a file and generate a png from it.

ansi2png-rs --input-path input.ansi --output-path output.png

Optionally the desired width of the png can be specified

ansi2png-rs --input-path input.ansi --output-path output.png --png-width 1000

Examples

Generated from resources/out.ansi: "example output"

Generated from resources/ansi2png_help.ansi: "ansi2png help output"

Generated from resources/sslscan.ansi width a png width of 2000: "example sslscan"

Generated from resources/tests.ansi: "example tests"

Generated from resources/rsync.ansi: "example rsync"

Commit count: 47

cargo fmt