Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.