benjamincharity
3/7/2013 - 1:44 PM

Copy the Base64 code for an image from the command line.

Copy the Base64 code for an image from the command line.

# change the image reference as needed (logo.svg)
echo -n `cat logo.svg` | base64 | pbcopy