Skip to main content
Inspiring
December 2, 2019
Question

Reduce file size of exported .svg file

  • December 2, 2019
  • 1 reply
  • 1386 views

Hi everyone,

 

I exported a small .svg file from Ilustrator but the file size was 1.5 mb even though the size was only 28mm or 79px. I wondered if someone could tell me how I can reduce the file size as I'm using it as a repeat pattern for a section on a website.

 

Would really appreciate any assistance.

This topic has been closed for replies.

1 reply

Mylenium
Legend
December 2, 2019

Impossible to know without any details about what's going on in the image. That said, using SVGs for background images on web pages is kinda pointless to begin with. Repeating BGs are rarely required to scale and rendering a complex vector-based SVG would be detrimental to overall page performance, especialyl on slower mobile devices where in addition this would also consume a lot of unecessary battery power. Long and short: Your approach probably doesn't make much sense. Export a PNG, GIF or even JPEG.

 

Mylenium

JKA@4153Author
Inspiring
December 2, 2019

That's good advice - I'll export a .png file instead. Thanks for your assistance.