Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
That's good advice - I'll export a .png file instead. Thanks for your assistance.