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

Export size differ from artboard size by 1px (pt)


Arghmath

Recommended Posts

Hi there,

Have anyone encountered the problem when exporting artboards. Sometimes the export size is off by 1px. I was not able to find why...

Here is the export window:

image.png.a192e7e15c99025d9dffef7668bd36a1.png

...and here is the size of the artboard:

image.png.f80760aa9fffa173c798034ed03f5c24.png

It basically doesn't matter if you select in the export area "Selection" or the specific artboard name.

Is this known bug?

 

 

Link to comment
Share on other sites

 

2 minutes ago, Arghmath said:

Have anyone encountered the problem when exporting artboards. Sometimes the export size is off by 1px.

Many users have experienced that, and it is not a bug.

You need to ensure that the X, Y, W, and H values in the Transform panel are all integers. If not, the size won't be what you expect when exported. Your Y value is not an integer. Just change it, and you should find it works as you expect. (However, to be sure, you may want to increase the number of decimal places for px measurements in your Preferences, User Interface, to 3 or 4.)

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

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

I agree that it's strange, but it seems to be how Serif wants it to work.

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

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

22 hours ago, walt.farrell said:

I agree that it's strange, but it seems to be how Serif wants it to work.

Well, do you really think it's a feature, and not a bug? I've also been struggling with this for some time and finally found this thread and thank goodness, you have saved me so much neurons and time with the integer tip. For me it looks similar, as below. And I think it should be considered a bug since - how does a user find out about this? Only by visiting forums... and that's not how software UX should work, I think.

 

2020-01-29 18_43_41-Window.png

Link to comment
Share on other sites

50 minutes ago, Grzeniu said:

Well, do you really think it's a feature, and not a bug?

Yes, I think it's a feature, based on the number of times it has come up and the uniform responses by Serif staff.

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

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

  • 2 weeks later...
  • Staff

Hi Arghmath, Grzeniu,
Welcome to Affinity Forums :)
Contrary to other apps, in Affinity Designer the artboards are (a special type of) object(s), subject to the same conditions as any other object and listed in the Layers panel as part of the layers hierarchy (they are not independent entities/canvas floating over a pasteboard area). For this reason their X,Y coordinates (and dimensions) do matter when exporting to other formats. Any decimal parts will be converted/added as an additional pixel in raster formats. One thing you can do to prevent this is enabling Force Pixel Alignment in the main toolbar to ensure that objects created, moved, stretched etc always end with integer values both for their X,Y coordinates and dimensions (width, height).  Also, keep Move by Whole Pixels (the button on the right of Force Pixel Alignment) disabled otherwise the decimal values will be kept when you move the objects.

Link to comment
Share on other sites

  • Staff

This approach lets you manipulate/perform a few operations with them as you can with other objects: for example use Power Duplicate to create a grids of artboards or even convert an object to an artboard and vice-versa (menu Layer > Convert Object to Artboard and the inverse, almost on bottom).

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.