Not sure if this pull request will be useful for other users, but I needed the ability to save a base64 encoded image to the device without using a canvas.
This solution may not be the best as the successCallback is called after the base64 encoded string is fetched from the canvas, but I imagine this wouldn't happen in the majority of use cases.
I've closed this for now as I realised I haven't actually tested that the original functionality has been left intact, the solution isn't the cleanest and this is probably out of the scope of the project.
Not sure if this pull request will be useful for other users, but I needed the ability to save a base64 encoded image to the device without using a canvas.
This solution may not be the best as the successCallback is called after the base64 encoded string is fetched from the canvas, but I imagine this wouldn't happen in the majority of use cases.