Okay, basically I\'ve developed a simple image upload system. The user selects a local image (using the HTML5 File / FileReader API) and has the ability to crop it before confir
You need to remove the data:image/png;base64, part and base 64 decode the rest.
data:image/png;base64,