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

Configure a hard limit when using screenshot on a svg element #1702

Open
ggrossetie opened this issue Jan 28, 2024 · 0 comments
Open

Configure a hard limit when using screenshot on a svg element #1702

ggrossetie opened this issue Jan 28, 2024 · 0 comments
Labels
👶 good first issue Good for newcomers 🍩 enhancement New feature or request 🔧 infrastructure 📜 javascript Related to Javascript code ⚡ Performance 👋 help wanted Help wanted!

Comments

@ggrossetie
Copy link
Member

It seems that Mermaid can generate very large SVG and screenshot will try to generate a large png file:

{"level":"error","time":1706178192976,"pid":1,"hostname":"8c15719d2bcd","stderr":"[0125/102312.976441:ERROR:tile_manager.cc(979)] WARNING: tile memory limits exceeded, some content may not draw\n","msg":"chrome process"}

We should make sure that the SVG element width and height does not exceed 4096?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👶 good first issue Good for newcomers 🍩 enhancement New feature or request 🔧 infrastructure 📜 javascript Related to Javascript code ⚡ Performance 👋 help wanted Help wanted!
Projects
None yet
Development

No branches or pull requests

1 participant