Jonas9172 / Convert-Images-to-Ascii-Art

Key features include character mapping, and pixelation effects, all while retaining the original colors from the image.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Convert-Images-to-Ascii-Art

Key features include character mapping, and pixelation effects, all while retaining the original colors from the image.

Development environment: Python 3.11.

Please download the package Pillow in advance.

Change the name of the image you want to convert to input.png and put it in the same directory as main.py, then run main.py and you will get output.png.

You can change the image size and clarity by modifying the source code.

将图像转换为Ascii字符画

主要功能包括字符映射和像素化效果,同时保留图像的原始彩色颜色。

开发环境:Python 3.11。

请提前下载Pillow包。

将要转换的图片名称改为input.png并放在与main.py同一目录下,然后运行main.py即可得到output.png。

您可以通过修改源代码来改变图像的大小和清晰度。

About

Key features include character mapping, and pixelation effects, all while retaining the original colors from the image.


Languages

Language:Python 100.0%