Skip to content

This python script converts a given image into ascii. The intended target is a shell, as oppose to a browse like other targets for color output.

License

Notifications You must be signed in to change notification settings

unsignedzero/img2ascii

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

img2ascii

This python script converts a given image into ascii. The intended target is a shell, as oppose to a browse like other targets for color output.

Dependencies

  • Requires PIL and its dependencies on the local system.
    1. Have libjpeg-dev library installed already.
    2. Install pip
    3. Install Pillow and Pillow-PIL.

General References

  • Color gist to map 24bit RGB to 8bit.
  • Setup on Cygwin
    • No compilation was needed on my tests.

Version/Changelog

  • Cleaned up README documentation.
  • Added more comments and s/shell/xterm/.
  • Tested and working.
  • Added main library using PIL.
  • Cleaned up colortrans.
  • Loaded reference gist before editing.
  • README and license created.

About

This python script converts a given image into ascii. The intended target is a shell, as oppose to a browse like other targets for color output.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages