DEV Community

Cover image for Save Large Canvas
Zevan Rosser
Zevan Rosser

Posted on

Save Large Canvas

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)

Collapse
 
artydev profile image
artydev •

Grenat thank you🙂

nextjs tutorial video

Youtube Tutorial Series 📺

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series