Skip to main content
Participating Frequently
June 8, 2024
Question

Numerous issues when saving AI to SVG

  • June 8, 2024
  • 2 replies
  • 739 views

Hi everyone!

If anyone has any insight or suggestions, I would greatly appreciate it.

My current "fix" was dowloading and using an older version of Adobe Illustrator, but sa small error still arose with that.

There was a change of the SVG code with no option to choose the former SVG code (which we need for our eProduct). Also other issues appeared when saving AI to SVG. See below:

    1. Clipping paths are handled differently (see screenshot "Example-Code)
    2. File format of the linked background images changed from JPG to PNG
    3. File size from the linked background images increased significantly (won’t load when opening the SVG)
    4. Background image shifted, so things aren't properly lined up anymore (see screenshot "Example-ImageShift")

2 replies

Community Manager
July 30, 2024

@YvetteK

  • The general XML structure change is on purpose and shall make the code smaller and more readable. Please let us know if you have concerns with the strucutre. It shouldn't have any negetive effect on the visual output.
  • JEPG to PNG: Illustrator preserves the format that is used in the document. So if you link or embed a JPEG image, it will get saved as such (ditto for PNG). For rasterized content, we use PNG as default but are working on solutions to choose a different format with different resolution/compression options.
  • As a temporay workaround, to change the increased file size, open the "Format Settings" options dialog (for instance in the "Asset Export" panel, click on the more menu > "Format Settings...".) Choose your format speicifc compression. For JPG options, disable "Embed ICC Profile".
  • The shifting might be an issue due to the precison on export. In the "SVG Options" dialog (File > Save As > SVG), select "More options", in "Decimal Places" incease the number to a higher number (3 might be optimal in your case).

YvetteKAuthor
Participating Frequently
January 24, 2025

Hi,

Hope you are well. I can't believe I am seeing this now (not good at navigating here).

I ended up reposting my original question back to the forum.

Any updates on the solutions to choose a different format with different resolution/compression options?

Anubhav M
Community Manager
Community Manager
June 10, 2024

Hello @YvetteK,

I'm sorry to hear about your experience. Would you mind sharing a public link to a sample Ai and SVG file from the older and latest versions after uploading it to Dropbox/Google Drive/etc. so we can check it on our end?

Looking forward to hearing from you.

 

Thanks,

Anubhav