A Go library and CLI tool that converts images into ASCII art with customizable output options.
Image2ASCII is a Go library and command-line tool that converts images into ASCII art representations. It solves the problem of programmatically generating ASCII art from images with flexible scaling, color support, and terminal integration.
Go developers needing to integrate ASCII art generation into applications, and command-line users who want to convert images to ASCII art directly in the terminal.
Developers choose Image2ASCII for its dual library/CLI design, extensive customization options like scaling and color toggling, and seamless terminal integration with screen-fitting capabilities.
:foggy: Convert image to ASCII
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Automatically fits ASCII output to terminal dimensions with the -s flag, as demonstrated in CLI examples for seamless screen-fitting without manual adjustments.
Supports multiple scaling methods including ratio-based, fixed width/height, and stretching, evidenced by flags like -r, -w, -g, and -t for precise control.
Provides both a command-line tool for quick conversions and a clean Go API with an interface for programmatic use, as shown in the library usage section.
Allows colored ASCII output with -c flag and character inversion with -i, enabling different visual effects without code changes, per the CLI options.
Limited to Go developers with no bindings for other languages, restricting integration in multi-language projects or non-Go environments.
Only explicitly demonstrates JPEG and PNG support in examples; lacks documentation on handling other formats like WebP or SVG, which may require additional work.
Missing options for custom ASCII character sets or advanced image preprocessing, limiting artistic control compared to more specialized ASCII art tools.