James Duncombe - Logo

Base64

Using the drag and drop API and FileReader to read a local image file and encode it to Base64 using the readAsDataURL method… yeah, this is pretty geeky!

Browse for file

Drag n' Drop an image in here!