Git Product home page Git Product logo

image-to-ascii's Introduction

Image to ASCII Converter

This is a command-line tool written in Rust that converts an image to ASCII art.

Features

  • Converts various image formats to ASCII art.
  • Resizes the image for better representation.
  • Supports common ASCII characters for the conversion.
  • Outputs the ASCII art to the console.

Usage

  1. Make sure you have Rust and Cargo installed on your system.

  2. Clone the repository:

git clone https://github.com/k0ez13/image-to-ascii.git

  1. Navigate to the project directory:

cd image-to-ascii

  1. Build the project:

cargo build --release

  1. Run the tool with an image file as the argument:

cargo run --release path/to/image.jpg

Replace path/to/image.jpg with the actual path to your image file.

  1. The ASCII representation of the image will be displayed in the console.

Supported Image Formats

The tool supports the following image formats:

  • BMP
  • GIF
  • JPEG
  • PNG
  • TIFF

Please note that additional dependencies are included to handle different formats.

Customization

You can customize the ASCII characters used for the conversion by modifying the ASCII_CHARS array in the source code.

License

This project is licensed under the MIT License.

image-to-ascii's People

Contributors

k0ez13 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.