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

SVG gaps between paths when exporting to PNG


Recommended Posts

I am having some issues exporting PNGs from the SVGs in this pack from kenney.nl: http://kenney.nl/content/4-assets/41-platformer-art-deluxe/platformer-art-complete-pack-0.zip

 

The SVG file in that pack is in the following location "Base pack/Vector/tiles.svg"

 

An example of a properly exported PNG without weird gaps is here: "Base pack/Tiles/grassCenter.png"

 

Please find the result when I export that part of the SVG attached, it has either white gaps or transparent gaps (this depends on the section of the SVG I try and export).

 

I understand that there isn't any overlapping of the SVG paths and believe this might be the issue.

 

Suggestions on how to workaround this issue would be much appreciated.

post-27274-0-86712600-1455372863.png

Link to comment
Share on other sites

  • Staff

Hi bbest,

Welcome to Affinity Forums :)

Yes, this is due to the antialiasing picking the background colour between the shapes.

You can either add a thin stroke to the darker shape (with the same colour as the fill) to cover the boundaries, or alternatively place a rectangle filled with one of the two colors used in the image behind the two shapes.

Link to comment
Share on other sites

  • 11 months later...
  • 5 years later...

This also happens in other vector graphic apps.
But Illustrator handles it well.
Thought it's partially natural behavior of vector graphics, people feel it's a bug like begem0t mentioned.
There are many topics about this in this forum.

I too requested this before.

 

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.