How to shrink SVG file

Asked by Andre Nigtowski on 2011-01-21

Is there a way to make the SVG file size smaller?

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
2011-01-21
Last reply:
2011-01-22
pbhj (pbhj) said : #1

File > Vacuum Defs will get rid of parts of the code that don't relate to used visuals.

Save as svgz will zip the text into a compressed form.

You could swap out any raster/bitmap graphics with smaller versions (filesize) of the same.

jazzynico (jazzynico) said : #2

Hello,

You can also save as Optimized SVG. It allows you to choose which parameters are optimized and should reduce the file (if created with Inkscape) by at least 30%.
Unfortunately there's no Compressed Optimized SVG export option, but maybe saving as Optimized and then as SVGZ would give an extra reduction...

Regards.

Can you help with this problem?

Provide an answer of your own, or ask Andre Nigtowski for more information if necessary.

To post a message you must log in.