Jump to content
Sign in to follow this  
bbest

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

MEB, this is a basic functionality. This should not be done through a workaround. Please, fix it.

 

I understand the reason, but from user perspective it feels like a bug. Every competitor has solved this problem one way or another.

Share this post


Link to post
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.

Sign in to follow this  

×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.