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] Support svgz files #777

Open
baillyjamy opened this issue Oct 22, 2021 · 0 comments
Open

[Question] Support svgz files #777

baillyjamy opened this issue Oct 22, 2021 · 0 comments

Comments

@baillyjamy
Copy link

Hello,
Is there a reason why .svgz files are not supported? I may have misunderstood the format but if I don't say anything stupid it's just a compressed svg file like a .gz?
For one of my projects I need to open svgz files that come from an online source.
I made a simple SVGParser extension that calls SVGParser.parse(text: String) after unzipping the file with GzipSwift. It works for my project
There might be a lot of details to be aware of and maybe a simple unzip is not necessarily enough?

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