Skip to content

Convert photos to ASCII art using dithering algorithms. A simple Python tool for transforming your images into unique artistic text representations.

alyreniko/photo2ascii-dithering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

en | ru

photo2ascii-dithering 🖼️

A tool for converting images into black-and-white pixel photos using dithering effect.

Examples

Original Result after dithering 180 Result after dithering 20

Image source: Wikipedia (Gracie Abrams)

Installation

  1. Clone the repository:
    git clone https://github.com/alyreniko/photo2ascii-dithering.git
    cd photo2ascii-dithering
  2. Install dependencies:
    pip install pillow

Usage

python main.py
Укажите новую ширину (рекомендую 180): 180
Укажите путь к изображению: input_image.png
Изображение сохранено в 'output_image.png'

Requirements

  • Python >= 3.7
  • Pillow

About

Convert photos to ASCII art using dithering algorithms. A simple Python tool for transforming your images into unique artistic text representations.

Topics

Resources

Stars

Watchers

Forks

Languages