Skip to content

Instantly share code, notes, and snippets.

@tspangler
Last active October 25, 2019 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tspangler/4811c5528d17f1d2ecd5b60f3689f9f7 to your computer and use it in GitHub Desktop.
Save tspangler/4811c5528d17f1d2ecd5b60f3689f9f7 to your computer and use it in GitHub Desktop.
max pngcrush + base64 + strip newlines + copy to clipboard
pngcrush -rem allb -brute -reduce file.png /dev/stdout | openssl base64 | tr -d '\n' | pbcopy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment