Giter Club home page Giter Club logo

image-to-art's Introduction

ASCII Art Converter

The ASCII Art Converter is a Python program that allows users to convert images into ASCII art. It utilizes the powerful capabilities of the PIL (Python Imaging Library) and provides an interactive interface for an engaging user experience.

Features

  • Image Selection: Users can enter the name of the image file they want to convert into ASCII art. The program displays the image for confirmation before proceeding.

  • Image Resizing: Users have the option to resize the image while maintaining the aspect ratio. The program recommends keeping the largest dimension below 180 for optimal results.

  • ASCII Art Generation: The program converts the image's pixels into corresponding ASCII characters, creating visually appealing representations of the image.

  • File Saving: A file-saving mechanism is incorporated, enabling users to export the generated ASCII art as a text file. This allows for easy preservation and sharing of the unique creations.

  • User-Friendly Interface: The program utilizes a clear terminal functionality for improved readability and provides informative messages throughout the conversion process.

Getting Started

  1. Install the required libraries by running the following commands:

    pip install Pillow
    pip install numpy
    
  2. Run the program by executing the Python script:

    python art.py
    
  3. Follow the prompts to enter the image file name, adjust dimensions, confirm the image display, and save the ASCII art to a text file.

  4. Enjoy exploring the world of ASCII art and sharing your creative masterpieces!

Dependencies

  • Pillow: Used for image manipulation and resizing.
  • NumPy: Utilized for efficient handling of image pixel data.

Contributing

Contributions to the ASCII Art Converter project are welcome! If you have any suggestions, improvements, or bug fixes, please feel free to open an issue or submit a pull request.

Acknowledgments

Special thanks to the developers of the PIL and NumPy libraries for their invaluable contributions to the world of image processing and manipulation.


Feel free to customize the README file to include additional sections or information as per your requirements.

image-to-art's People

Contributors

v33010 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.