Jump to content
You must now use your email address to sign in [click for more info] ×

Artboard X,Y causes extra pixels on export when in decimals


Recommended Posts

What Application are you using? 
Designer

Are you using the latest release version?
v2.1.1

Can you reproduce it?
Yes

Does it happen for a new document? If not can you upload a document that shows the problem?
Yes

hardware acceleration
Does not matter

What happened for you (and what you expected to happen)

Firstly I'd like to acknowledge that there are reports similar to this one, but those are regarding the width and height of the artboards themselves.

 

Here we have 3 artboards, the first 2 are offset by .5 and the third one is perfectly pixel aligned. the first to export with an extra pixel and the 3rd exports fine.

image.png.ea2e41f31b81687042449e0e6bf100a3.png

 

I would expect the artboard position to have no effect on the exported image, and be exported with the same size as is specified for that artboard.

 

Bonus: Here I moved an artboard with force pixel alignment enabled, it did not snap as it's supposed to and ended up at x=2449.527px, the position of this artboard was x=2416px:

image.png.86a998457e92f46cbef9de4cd62741ec.png

 

File: artboard_placement.afdesign

Link to comment
Share on other sites

This is how it currently works.
Always make sure that the position and most preferably also the size of the artboard are in pixel units and at whole integers.
It has been reported so many times and some if not many would like the underlying concept be always rounded to full pixels.




 

Link to comment
Share on other sites

Just now, Return said:

This is how it currently works.
Always make sure that the position and most preferably also the size of the artboard are in pixel units and at whole integers.
It has been reported so many times and some if not many would like the underlying concept be always rounded to full pixels.

I know that the size has been reported but I haven't seen the position of the artboards being reported, and I think in this case it shouldn't matter, especially when pixel alignment didn't even work properly on the artboard.

Link to comment
Share on other sites

This issue, as mentioned by Return above, for both sizes and positions, has been extant since the early days of the Affinity applications and has been reported/mentioned many times.

If you don’t want to get the extra pixels upon export you need to make sure that the Artboard X, Y, W and H values (positions and sizes) are all set to an integer number of pixels (or the equivalent in another UOM).

Link to comment
Share on other sites

  • 5 weeks later...

Ok, after 6 YEARS suffering this issue myself, I FINALLY found a solution 🙏

Go on Settings > User Interface > Decimal Places for Unit Types (see image attached)
Set the Pixels to 0 (zero)

After this you can move/ resize the Artboards as much as you desire in this life it will never ever again will bring the comma again.

Pay me a beer :)

Screenshot 2023-08-22 at 16.20.56.png

Link to comment
Share on other sites

15 hours ago, Fagnu said:

Ok, after 6 YEARS suffering this issue myself, I FINALLY found a solution 🙏

Go on Settings > User Interface > Decimal Places for Unit Types (see image attached)
Set the Pixels to 0 (zero)

After this you can move/ resize the Artboards as much as you desire in this life it will never ever again will bring the comma again.

Pay me a beer :)

Screenshot 2023-08-22 at 16.20.56.png

Good try, but unfortunately this only "hides" the issue is still there

Link to comment
Share on other sites

On 7/24/2023 at 12:21 PM, Ezbaze said:

I know that the size has been reported but I haven't seen the position of the artboards being reported, and I think in this case it shouldn't matter, especially when pixel alignment didn't even work properly on the artboard.

The positioning problem has been reported numerous times. Many of us agree with you that the position shouldn’t matter, but it currently does.

‘Force Pixel Alignment’ works as you and I would expect if (and only if) ‘Move by Whole Pixels’ is disabled. When ‘Move by Whole Pixels’ is enabled, it overrides ‘Force Pixel Alignment’.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen)

Link to comment
Share on other sites

9 minutes ago, Alfred said:

'Force Pixel Alignment’ works as you and I would expect if (and only if) ‘Move by Whole Pixels’ is disabled. When ‘Move by Whole Pixels’ is enabled, it overrides ‘Force Pixel Alignment’.

And as long as one doesn't override snapping by pressing the Alt/Opt key while dragging & duplicating an Artboard.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 17.6.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.6.1

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.

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.