Skip to content

Oglo12/ansimage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ANSIMAGE

A simple Rust program that generates ANSI 256-colored images from text.

Usage

Cargo

git clone https://github.com/vimjoyer/ansimage.git
cd ansimage
cargo install --path .

ansimg --help

Nix (no need to clone)

nix run github:vimjoyer/ansimage -- --help

Flags

-i, --input <INPUT>                Input text file, or string
    -o, --output <OUTPUT>          Output file
    --font <FONT>                  Font to use (the full path to the font file)
    --glyph-height <GLYPH_HEIGHT>  Height of glyphs
    --bgcolor <BGCOLOR>            Background color e.g. "#282828"
    --force                        Force the program to overwrite the output file
    -h, --help                     Print help
    -V, --version                  Print version

About

Forked from Vimjoyer ansimage.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 94.1%
  • Nix 5.9%