Categorygithub.com/Harichandra-Prasath/Ascii-Image-Generator
repositorypackage
0.0.0-20241104080136-f6de2311b89b
Repository: https://github.com/harichandra-prasath/ascii-image-generator.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Go tool to generate ascii Image

Usage

Build the binary and use it with supported flags
Make sure to Zoom out full screen terminal to see the art
For output .txt files, reduce the font size in any editor to see the art

Supported flags

-path (Path for the image) (Jpeg,Jpeg,Png are supported types) (Required flag)
-method (method for pixel-to-brightness conversion) (Average,Lightness,Luminosity are available conversion methods) (Optional flag)
-save (To save the ascii in .txt file) (Optional flag)
-h (Help flag)

Example:
Run

 go build -o Ascii-generator 
 ./Ascii-generator -path path_to_your_image -method method_for_brightness

For help
Run

./Ascii-generator -h