Skip to content

Convert image to ASCIIesque art using any character set.

Notifications You must be signed in to change notification settings

vkotek/img2char

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

img2char

Convert image to ASCIIesque art using any given character set.

Syntax:

python3 ./ <image> [options]

Image to character map.

positional arguments:
  <image>         path to image or URL

optional arguments:
  -h, --help  Show this help message and exit
  -c CHARSET  String of characters or charset name
  -s SIZE     Size in characters
  -r RATIO    Ratio of characters
  
charsets:
 symbols
 kanji
 kanji2
 kanji3
 kanji4
 hangul
 hangul2
 User specified string..

Example:

$ python3 ./ test/paris.jpg -s 50 -r 1 -c '!@#$%^&*()/'

alt-text

$ python3 ./ https://url-to-image.com/image.jpg -c "kanji" -s 40

alt-text

About

Convert image to ASCIIesque art using any character set.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages