-1

I'm currently working with some complex illustrations and wants to use them as .svg on my website. I tried using .svgz files but they are not working properly when deployed on sever. Is there anyway I can reduce the size of .svg files. My current .svg size is going upto 2.5 - 3 mb which I don't want. Any suggestions would be helpful.

Konvivial
  • 99
  • 2
  • 9

1 Answers1

1

For solve problem you need prepare you svg. I use Illustrator. Before save you need:

  1. Ungroup all elements
  2. Expand (Fill, stroke, other options) - convert to pure curves
  3. Don't use gradients and blur if it possible
  4. Use svgo compression tool

This steps allow me usual minify size on 10-50%, depends of image.

khusnetdinov
  • 421
  • 5
  • 16