Weirdly if you try to save a massive data URI to a file (> 15mb) it will just fail. In order to do this properly, you need to convert to a blob first and then save.
I encountered this at some point and learned of the solution from user doppelgreener over at stack overflow. Take a look at the post here.
See more stuff like this over @ Snippet Zone
Top comments (1)
Grenat thank you🙂