You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I output as JSON and reuse it, each file is hundreds of KB. It will consume too much space if there are a lot of images to be generated in production.
I think the problem is because outputting as JSON will generate too much duplicate information(every stroke's information etc.)
The necessary information is the position, size, rotation, etc... of each element. If we can only output this data and reuse it by rendering the actual SVG file with it, the size of each image will go down to less than 1KB.
The text was updated successfully, but these errors were encountered:
If I output as JSON and reuse it, each file is hundreds of KB. It will consume too much space if there are a lot of images to be generated in production.
I think the problem is because outputting as JSON will generate too much duplicate information(every stroke's information etc.)
The necessary information is the position, size, rotation, etc... of each element. If we can only output this data and reuse it by rendering the actual SVG file with it, the size of each image will go down to less than 1KB.
The text was updated successfully, but these errors were encountered: