@Calendee

Getting base64 of Any Image

Have you ever needed to get the base64 contents of any image? If you search for it, you'll see a million apps / downloads to do this for you. Some cost $$ and others might be littered with malware.

On a Mac (and possibly Linux), there's a very easy way to get what you need using the command line.

base64 myImg.png > myImg_base64.txt  

That's it. Just run that command for the image you want, and TADA you have the base64 representation of it.

Credit : I got this somewhere on the internet many moons ago - I don't remember where - but this is not my original idea.