Answer the question
In order to leave comments, you need to log in
JavaScript and SVGZ
There is a loaded XMLHttpReques'om SVGZ archive.
Is it possible to convert it to SVGElement using DOM methods without using third party libraries?
Answer the question
In order to leave comments, you need to log in
If on the server, giving this archive, add http headers:
then the archive will be transferred over the network, and the browser will automatically decompress it itself.
Content-Encoding: gzip
Content-Type: image/svg+xml
Theoretically, it is not excluded. You can try writing it to an SVG element via the data:
. Practically - I do not know, I have not tried it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question