I would like to save an image to reuse it on several pages. The simplest way for me would be to use local storage.
Now, I'm wondering if it is a safe option. I'm not sure about the size of the generated image, so I'm afraid that it could sometimes exceed the limit of the local storage capacity.
If it can help, here are the characteristics of a typical image:
- 980x653 PNG
- When saved, it weighs ~400ko
- base64 is ~33k chars (but I guess it can easily double)