Skip to content

stevenaubertin/Image2ASCII

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image2ASCII

Simple script that convert image to ASCII

usage : image2ascii [args]

  • [-i ] : Specify file source from directory
  • [-u ] : Specify file source from url
  • [-o ] : Specify output absolut file path
  • [-c ] : Print result on console #Beware of image resolution use -r to rescale
  • [-x ] : Resize image width
  • [-y ] : Resize image heigth
  • [-r ] : Rescale image corresponding to apect ratio ( should almost being use for medium to large images )
  • [-a ] : Print information about author, date, dependency...
  • [-h ] : Print this help message

This script match a pixel for an ascii char. Thus most of the images will be very large. The use of the rescale option is recommended.

example : image2ascii.py -u https://avatars3.githubusercontent.com/u/6411530?v=2&s=460 -o output.txt -r 0.15

About

Simple script that convert image to ASCII

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages