I'm after an osx program that will convert an image into a base64 string (for web development).
Basically replicates this: http://webcodertools.com/imagetobase64converter/Create
I suspect there is no application, and in that case I'd be interested if I can get the terminal command which will encode, to apply to a certain file on Right-Click
Followup question: Can I give Automator apps a window?
I combined the two solutions below, to create an application with the following code
for f in "$@" do openssl base64 -in "$f" | pbcopy done