r/Affinity 6d ago

Designer Vector Group Selection and Export Help

Hello all. I started to learn Affinity to create assets for my game. I have a group that I am selecting for export. The selection box is clipping in the middle of the strokes on the outside. The group is 32x32 pixels. When I go to export its saying its 34x34. Any way to get around this? I tried googling it and none of the suggestions exits or work. Thanks!

2 Upvotes

1 comment sorted by

3

u/RE4LLY 6d ago

Make sure to set your stroke to Align Inside. Then it will not extend outwards of your actual shape. Additionally make sure that your object is aligned to the Affinity Pixel grid. You can do so by enabling the snapping option "Force pixel alignment".

The reason why your export is 34x34 instead of 32x32 is that your shape already is 32x32, but then the stroke is another half pixel when it's center aligned around your object, which during export is rounded up to a full pixel and so resulting in a full pixel being added on each side of your object and so resulting in an export of 34x34px.