Jump to content
felixfaire

Copied Artboard Slices consistently off by 1 pixel

Recommended Posts

Slices in the export persona are regularly 1 pixel larger than the Artboards they are generated from. This is probably some (hopefully simple) rounding bug but it is very annoying for documents with many icons to export etc as you have to go to each manually and reset it to 512x512 (instead of 513x512) for example.

This seems to be particularly when artboards are copied. To replicate do the following:

- Create a new document (eg 1280 x 800 resolution).

- Create a new artboard from the document using the artboard tool.

- Duplicate the artboard using "duplicate" and move to spare space.

- Go to export persona and see that the second artboard has resolution of 1281 x 800.

Hope this helps.

Best.

 

Affinity Designer iPad Pro

1235464729_ScreenShot2018-09-12at14_06_19.thumb.png.daf0bac583834873974411ffdac23cfd.pngIMG_29A0623788F7-1.thumb.jpeg.198c863e808eecffc36a274b15e77b28.jpeg

Share this post


Link to post
Share on other sites

If this is the same problem that the Desktop users experience, it's usually because they haven't ensured their artboards are aligned properly to the pixel grid, and end up with them starting at, e.g., 200.5px for either their x or y coordinates. That can be viewed in the Transform panel (on the desktop versions). Exporting slices in that situation ends up with the application needing to round up to get to a whole pixel value.

Ensuring that "Force Pixel Alignment" is on and "Move by Whole Pixels" is off is the usual solution. (Again, that's on the Desktop versions, but it may apply to the iPad versiion, too, and your description seems to match.)


-- Walt

Windows 10 Home, version 1809, 16GB memory, Intel Core i7-6700K @ 4.00Gz, GeForce GTX 970
Affinity Photo 1.6.5.123 and 1.7.0.331 Beta       / Affinity Designer 1.6..5.123 and 1.7.0.331 Beta    / Affinity Publisher 1.7.0.330 Beta

Share this post


Link to post
Share on other sites

Hi felixfaire,

As Walt says above, if your Artboards are positioned on half pixels then this will happen. If the X/Y co-ordinates are showing as whole pixels you might need to adjust the decimal places for pixels in Preferences.

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

×