How to compress more or is there a best way to save canvas.toJSON #9796
Unanswered
alensprout
asked this question in
Q&A
Replies: 1 comment
-
If the save is meant for a later sessions and you are using dataUri i don't see a workaround. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am creating a custom product designer and Im using fabric js and users supposed to be able upload images locally to the canvas and lets say they will save their work I used canvas.toJSON to save it but as expected it's size is high since users can upload images in canvas and images become datauri by default is there a way to compress it more?
Beta Was this translation helpful? Give feedback.
All reactions