Skip to content

WindowGenerator/image2textart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Art Generator

The Text Art Generator is a command-line tool that converts an image file into ASCII art. It allows you to customize the output by specifying various options.

Usage:

image2textart-cli [OPTIONS]

Arguments:

  • <FILENAME>: Path to the image file.

Options:

  • -W, --width <WIDTH>: Specifies the width of the output image.
  • -H, --height <HEIGHT>: Specifies the height of the output image.
  • -r, --ratio <RATIO>: Specifies the scale of the image. [default: 1]
  • -c, --color <COLOR>: Specifies the colors to be used in the output image. [default: gray]
  • -C, --charset <CHARSET>: Specifies the symbols to be used to render the output image, ranging from translucent to opaque. Built-in charsets: ansi, default, slight. [default: default]
  • --custom-charset <CUSTOM_CHARSET>: Specifies custom characters to be used to render the output image.
  • -i, --invert: Inverts the weights of the characters. Useful for white backgrounds.
  • -h, --help: Prints the help message (see a summary with '-h').
  • -V, --version: Prints the version number.

Examples:

Shrek:

Shrek

Gigachad:

Shrek

Cool Cat:

CoolCat

License

This tool is released under the MIT License.

About

This is rust implementation of image to ascii(textart)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages