Jump to content

Recommended Posts

Posted (edited)

Hi! I've been working with Affinity for over a year now. While it is an awesome product, I got frustrated quite often when exporting a document in Affinity Designer with multiple frames and checking the result, only to find there was an extra pixel in the width or height of the result. For example I had a social media illustration on 1080x1080 and it resulted in an image of 1081x1080. That extra column of pixels would also be white, or just very inconsistent with the rest of the image.

I finally understand what happens here and how to work around it. However it would be better if the workaround wasn't necessary.

To reproduce:

Start with a regular frame. In this example I make one of 10x10 pixels (72 dpi). I add a red rectangle at the bottom half of 10x5 pixels to make the issue more clear. I clone the frame and I  move the second frame to the right. I ended up with the second image positioned at 13.6 px on the X axis. Now I'm going to the export persona where I find my export being 11x10 px. 

spacer.png

Now I export the resulting frame, which results in a 11x10 image, I open the result with Affinity and voila:

image.thumb.png.4b6025345744f7c0aaaa3ba1ea976918.png

 

Workaround:

To solve this I have to use the transform view and enter a X/Y position for the frame which does not include decimals. This feels really unnecessary and unintuitive to do though.

Edited by peternoot
Posted

Welcome to the forums @peternoot

What you described as a “workaround” is simply what you need to do because the Affinity applications work this way.
It’s not a bug, it’s just how the software has been designed to work.

If you want pixel-perfect export then you need to make sure that the layers in the export (and their contents/formatting in some cases) are pixel-aligned (integer pixel values).
Otherwise the software will create extra pixels to accommodate the ‘missing information’ for the ‘sub-pixels’ upon export.

To try to make sure that layers are pixel-aligned you can set “Force Pixel AlignmentON and “Move By Whole PixelsOFF in the Toolbar, but this is not retroactive so any existing non-aligned layers may need to be moved.

There are some people who don’t like it, and have said so many times in these forums, but it’s what we’ve got.

Posted
21 minutes ago, peternoot said:

I  move the second frame [artboard] to the right […]

… to the 13.6 px position which means the whole artboard is off the document pixel grid which means all content of the artboard will be subject to antialiasing.

Solution:

Make sure all your artboards are aligned to integer pixel values.

MacBookAir 15": MacOS Sonoma > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 18 > Affinity v2

Posted

When doing Pixel Perfect work have Snapping on and have only Force Pixel Alignment turned on.

ScreenShot2024-01-11at9_27_05AM.png.525723ba5cdbadba0fb737a2f6c17617.png

You may have a Pixel Grid set up and in that case you can have Snap to Grid turned on as well.

Mac Pro (Late 2013) Mac OS 12.7.6 
Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Posted

Thanks for the replies and tips. I understand what's happening and why it behaves as it does, I just really have the feeling this should not be expected behaviour.

Posted
5 minutes ago, peternoot said:

I just really have the feeling this should not be expected behaviour.

Note that your thread got tagged in the meantime together with other threads (2019) by Serif as an issue for further investigation by the developers:

https://forum.affinity.serif.com/index.php?/search/&tags=afd-2424

afd-2424_24jan12th.thumb.png.27992ba0799939a280bce14a5b6a7645.png

• MacBookPro Retina 15" |  macOS 10.14.6  | Eizo 27" | Affinity V1  
• iPad 10.Gen.  |  iOS 18.5.  |  Affinity V2.6

Posted
1 hour ago, peternoot said:

I just really have the feeling this should not be expected behaviour.

The highly confusing issue here is that the user isn't made aware that Affinity documents have an "absolute pixel grid" that rules it all.
In Designer, each artboard will confusingly display its own ruler and pixel grid, even if it doesn't match integer pixel values of the document's absolute pixel grid.
That's the proverbial "root of evil" that will inevitably result in antialiased objects on export.

Publisher pages are affected just as well, for that matter.
Also, having bleed active adds to the issue as well.

So in Designer, make sure that you always have the Pixels View Mode active when working at single pixel zoom level.

On the other hand though, there are valid scenarios where you don't want to align objects to the pixel grid. But this advanced flexibility comes with a price… :/ 

MacBookAir 15": MacOS Sonoma > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 18 > Affinity v2

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.