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

Question/discussion: Handling 91mb SVGs? #21

Open
Denubis opened this issue Jan 10, 2018 · 3 comments
Open

Question/discussion: Handling 91mb SVGs? #21

Denubis opened this issue Jan 10, 2018 · 3 comments
Labels

Comments

@Denubis
Copy link

Denubis commented Jan 10, 2018

This is mainly a question of suitability (most likely the answer will be "no, just render to png"). I've got a 6 metre by 3 metre svg with details down to the 2-5mm level. Does svg-overlay section the svg and/or work on svg sections? (And if so, are there recommended routes to create those sections?)

@iangilman
Copy link
Member

This plugin just gives you a transformed surface to draw your SVG on; it doesn't do any sectioning. If you had another library that could do sectioning, it would probably be pretty straight forward to hook it up to this plugin (and just pipe the current viewport bounds into the sectioning library). Presumably such libraries exist, but as far as I know no one has hooked one up to this plugin. If you do so, I'd love to hear about it!

@Denubis
Copy link
Author

Denubis commented Jan 12, 2018

In an attempt to test this, I ran https://github.com/VoidVolker/MagickSlicer against my svg (expecting an error) and... it's quite happily making tiled svgs. Can I invite you to a private repo to share them? (I'm not keen on publishing URLs for this yet)

@Denubis
Copy link
Author

Denubis commented Jan 12, 2018

Ah. Viewing source it seems to be embedding pngs inside the sectioned svg... files. I'll go back to looking.

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

No branches or pull requests

2 participants