Skip to content

Instantly share code, notes, and snippets.

@davidfq

davidfq/toBase64

Created May 18, 2012
Embed
What would you like to do?
convert img to base64
echo -n "data:image/png;base64," > img.txt; base64 -w 0 img.png >> img.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.