laq44q
Last Updated: February 25, 2016
·
366
· benjamincharity

Base64 encode an image directly into your clipboard.

Run this from the command line or, as I do, from directly in vim.

Note: Change the image reference as needed (myImage.png)

echo -n `cat myImage.png` | base64 | pbcopy