Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Reduce file size of exported .svg file

Contributor ,
Dec 01, 2019 Dec 01, 2019

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.

1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
LEGEND ,
Dec 01, 2019 Dec 01, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Dec 01, 2019 Dec 01, 2019
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines