Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exported SVG way too big #236

Open
Gianarci opened this issue May 21, 2024 · 0 comments
Open

Exported SVG way too big #236

Gianarci opened this issue May 21, 2024 · 0 comments

Comments

@Gianarci
Copy link

Gianarci commented May 21, 2024

I want to report that the tool exports SVGs that are poorly optimized and often too heavy to render for the browser. In one board, it exported a 30Mb file. By optimizing it with a tool (SVGO) the file was reduced to 1.8Mb, with the same graphic rendering. The main problem is that approximately 112000 paths are generated (with absolute coordinates) and identical styles, while SVGO reduces them to 206 (merging them), transforming them into relative coordinates, applying any transforms, and this greatly optimizes the rendering phase. However, given its size, the aforementioned tool takes 9 minutes to perform the optimization and is therefore an unacceptable solution. Is there a way to mitigate this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant