Skip to content

pkowalski/ascii-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASCII Image

Converts an image into its ASCII character representation. Currently works best with image included in this repo

cargo run {image_path} {invert}

image_path: Image path relative to the repo. Default is "cat2.jpg" found in this repo. invert: If "invert" is passed as the second parameter it will print the imge with inverted luminocity. Default is non inverted.

// This will print an inverted image based on cat2.jpg
cargo run cat2.jpg invert

Input

Image description

Output

Image description

About

Converts and image into ASCII

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages