Skip to content

Art-Go is a lightweight and efficient command-line tool that transforms images and webcam captures into stunning ASCII art. Whether you want to convert static images, animate GIFs, or add color to your ASCII creations, Art-Go provides a flexible and customizable experience. Built with Go, it ensures fast processing and seamless performance.

License

Notifications You must be signed in to change notification settings

FilledEther20/art-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASCII Art Generator

A command-line tool to convert images (JPEG, PNG) and webcam captures into ASCII art. Supports colored ASCII output and animated GIFs.

Features

  • Image to ASCII: Convert PNG,JPEG images into ASCII representations.
  • Webcam Capture: Capture images from the webcam and convert them to ASCII.
  • Color Support: Option to display ASCII art in full color.
  • Adjustable Scale: Control the ASCII resolution with a scale factor.

Installation

Ensure you have Go installed, then clone this repository:

git clone https://github.com/FilledEther20/art-go.git
cd art-go

Install dependencies:

go mod tidy

Build the project:

go build -o ascii-art

Usage

Convert an Image to ASCII Art

./ascii-art generate <image_path>

Example:

./ascii-art generate example.jpg

Capture Image from Webcam

./ascii-art generate --camera

Enable Colored ASCII Output

./ascii-art generate example.jpg --color

Adjust Scale Factor

Increase or decrease the level of detail:

./ascii-art generate example.jpg --scale 6

Dependencies

  • GoCV for webcam capture
  • image package for image processing
  • github.com/spf13/cobra for CLI handling

License

This project is licensed under the MIT License.

Contributing

Feel free to open issues or pull requests to improve the tool.

About

Art-Go is a lightweight and efficient command-line tool that transforms images and webcam captures into stunning ASCII art. Whether you want to convert static images, animate GIFs, or add color to your ASCII creations, Art-Go provides a flexible and customizable experience. Built with Go, it ensures fast processing and seamless performance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages