質問

Is there a way to compress SVG files?

I've been told that SVGz is the best way although I haven't found a converter to convert my SVG file.

Or is there an app where I can import an SVG file and export to SVGz?

役に立ちましたか?

解決

It uses GZip:

http://en.wikipedia.org/wiki/Scalable_Vector_Graphics#Compression

If you host SVG files on a web server, and have a properly configured web server, your web server will already compress files sent to the client, so compression of the SVG to SVGz is unnecessary (in fact undesirable).

To test whether your web server is configured correctly, refer to: How can I tell if my server is serving GZipped content?

他のヒント

I know this is an older post but I thought it may be helpful to actually list out apps that can save in svgz format as per your request. Adobe Illustrator's Save As will allow you to save out to svgz format, as well as Inkscape, 7Zip, and if you are a fan of the command line and use windows this is a fairly simple solution GZip for Windows.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top