Jump to content

Recommended Posts

When exporting a vector image to SVG, Designer appears to add hundreds of points to a path that aren't there when editing, causing the exported file to balloon many times the size as one exported from illustrator.

 

For example, the Twitter logo contains 20 points on the path in Designer, but after exporting as a SVG it balloons to 1,554 points! Is there anyway to tell Designer to not add points, and to respect the original layout?

 

This is holding me back from dumping Adobe Illustrator completely, so any help would be greatly appreciated.

 

 

Thanks,

 

Mike

Share this post


Link to post
Share on other sites

What steps did you take up to exporting?

I used the twitter logo from Grade UI and export didn't add extra points.

 

edit:  ok now getting extra points when I increase the stroke width and set the stroke's align to inside or outside. It doesn't add extra points with center only on the other two options.

 

post-47916-0-12179300-1484947016_thumb.jpg

 

 

Share this post


Link to post
Share on other sites

What steps did you take up to exporting?

I used the twitter logo from Grade UI and export didn't add extra points.

 

edit:  ok now getting extra points when I increase the stroke width and set the stroke's align to inside or outside. It doesn't add extra points with center only on the other two options.

 

attachicon.gifCapture.JPG

 

 

Interesting. In Illustrator, if the stroke align is center, then the stroke attribute is added to the <path> tag. If either of the two remaining stroke alignments are chosen, it outlines the stroke and uses a minimum of points for each path when exporting to SVG. I wonder if this behavior can be added to Designer. As of now, I will need to continue working in Adobe Illustrator for SVG pieces.  :(

Share this post


Link to post
Share on other sites

Looks like you found a new bug.

Before you export you can try Layers-> expand stroke. If not perfect and also adds extra points but not as bad as align inside/outside. Others have posted that expand stroke will be fixed soon.

Share this post


Link to post
Share on other sites
10 hours ago, GrinningShark said:

Wondering about this also.  Cannot get clean SVG files for export to TinkerCAD (just imports the vector all chopped up) or Blender (imports better, but still has problems).  

 

On 10/2/2018 at 11:13 PM, SSTC said:

Was this ever fixed? I believe I'm having the same problem.

No, this is still not fixed. The algorithm for converting to curves just isn't right in Designer and when exporting to svg with stroke set to inner or outer it automatically converts the strokes to curves. The latter is nececary, because software like browsers are not able to replicate inner and outer strokes, so Affinity needs to convert it to outlines.

So the cleanest way to output your graphic is to create the outlines yourself and fix the mistakes the Designer algorithm made, or set stroke to center.


 

Share this post


Link to post
Share on other sites

Same here. A bell logo created with just a few nodes was exported as 105KB!! file with thousands of nodes. I mean the app is great but I bought it only for small icon creation and now I cannot use it. Well for the time being I go back to coding nodes in html..:/

Share this post


Link to post
Share on other sites
On 1/20/2017 at 1:15 PM, m_bartholomew said:

When exporting a vector image to SVG, Designer appears to add hundreds of points to a path that aren't there when editing, causing the exported file to balloon many times the size as one exported from illustrator.

 

For example, the Twitter logo contains 20 points on the path in Designer, but after exporting as a SVG it balloons to 1,554 points! Is there anyway to tell Designer to not add points, and to respect the original layout?

 

This is holding me back from dumping Adobe Illustrator completely, so any help would be greatly appreciated.

 

 

Thanks,

 

Mike

Have you reported this bug?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×