Last active
December 14, 2015 15:29
-
-
Save benjamincharity/5108148 to your computer and use it in GitHub Desktop.
Copy the Base64 code for an image from the command line.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# change the image reference as needed (logo.svg) | |
echo -n `cat logo.svg` | base64 | pbcopy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment