Skip to content

Instantly share code, notes, and snippets.

Created March 2, 2014 10:49
Show Gist options
  • Save anonymous/9304833 to your computer and use it in GitHub Desktop.
Save anonymous/9304833 to your computer and use it in GitHub Desktop.
Convert a white bg JPEG to ASCII art with colors, while stripping out the color-space-white codes
jp2a picture.jpg --colors --invert | head -n20 | sed 's/\^[\[37m \^[\[0m/ /g' > picture.ansi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment