Jump to content
You must now use your email address to sign in [click for more info] ×

SVG Export size vs Illustrator export size.


Recommended Posts

Hi, 

 

First of all thanks for making such awesome products. Love it!! 

 

Im slowly trying to replace my old Adobe suite with Affinity D and P.  Today I ran into something I dont understand. I tried to remove some hidden layers from a SVG made with Adobe Illustrator and export it again with Affinity Designer. The file size went from 14kB to 524kB with standard settings. Im not sure why the filesize would change that much. Are there any settings did not see? There is no raster in the file.

 

When i look in the SVG file, I see a lot more polygons. Are there any way to lower the polygon count? The source material did not have that much polygons.

 

I uploaded both files. Just wanted to let you know.

 

Source.svg

 

Affinity.svg

Link to comment
Share on other sites

  • Staff

Hi Siggaard,

 

Welcome to the forums! :)  I know this sounds really weird, but the problem is actually caused by some of the strokes having the 'Miter' join style set on them. If you open 'source.svg' into Affinity Designer and then hit Cmd+A (to Select All) then go to the Stroke panel and choose 'Round' join to force all strokes to a round join then try to export again you actually get a 11.35KB file (see attached) as the SVG export. This is simply because of our miter joins being slightly different to other programs in their behaviour when you exceed the miter limit (we trim them to look nice, other programs pretend they were supposed to be bevels so they jump quite alarmingly when you're viewing a real-time preview of moving a node, for example). To rectify this and ensure that your document looks correct, all strokes with miter set on them are expanded into polygons with lots of straight lines so they look the same. I've mentioned this before that I'll look into fixing our output to first check if it was necessary to do this, prior to forcing the output to bloat in this way.

 

Affinity Export.svg

 

Hope that made some sense?

 

Thanks again,

Matt

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.