Jump to content

How to avoid sprite bleed in a sprite atlas?

Recommended Posts

In Affinity Designer, I am using vectors to create a sprite atlas. For each sprite I apply a mask that limits the vectors to that sprite's boundaries. However when exporting to png (or viewing as pixel / retina pixel in Designer), there is bleed between sprites.

I have attached a couple of images to indicate what I mean. I've highlighted a couple of examples where there is bleed. (NB: you can see my grid: 32 px with 8 subdivisions)

How can this be solved? e.g. is there a way for each element within the Grid to be converted to pixels independently?


Vector sprite atlas.png

Retina pixel view.png

Link to comment
Share on other sites

  • Moderators

Thanks for that Paul, this is due to the document being at 288 DPI. If you change the document to 300DPI, save it and reopen it you'll find the pixel view is correctly masking your curve at the rectangle bounds.

This behaviour AFAIk isn't to be expected, so I'm logging it now with our developers as a bug to be investigated further!

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.

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.


  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. 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.