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?
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?