Skip to content

stormlogix/image-to-ascii-pixelwise

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image to ascii pixelwise

image is translated pixel for pixel to ascii chars

unicode chars to be exact

chars that can be displayed in a terminal

using upper half block and lower half block

https://en.wikipedia.org/wiki/Block_Elements

using foreground and background color

effectively two pixels in one ascii char

limitations:

only rgb color which may or may not be supported by your terminal

alpha channel is expected to be either 0 or 255

requirements:

python3

PIL/Pillow

examples:

cat image from https://www.favicon.cc/?action=icon&file_id=851700

mario https://www.favicon.cc/?action=icon&file_id=962351

license:

Copyright Lesmana Zimmer [email protected]

This program is free software. It is licensed under the WTFPL version 2. That means that you can do what the fuck you want to with this program. For details see http://www.wtfpl.net/about/

About

convert image to ascii pixel by pixel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%