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

Export adds 1 pixel to artboard size


Recommended Posts

When I make multiple artboards in a document, in this case for a set of display ads, and the artboards are sized to a spec like 300x250px, whether I use Export Persona or export individually, a single pixel is often added to the X or Y axis of the artboard and the positioning is off. This results in a 1 px gap on one or both of the axises. This was occurring before and after the 1.9 update.

The fix then involves going into export persona and resizing the artboard slices but then some of them are still out of position by a pixel so I have to move the slice as well by comparing to the first export before re-exporting. 

I thought it might have to do with a single pixel stroke on a transparent rectangle I was making the same size as the artboard to add as a border but hiding this stroke before export does not solve the problem.

 

Link to comment
Share on other sites

You need to ensure that your Artboards are located on integer X and Y pixel coordinates. If there are any fractional pixels in either the dimensions or in the positioning you'll get that extra pixel during export.

You can see the positions in the Transform panel if you select an Artboard with the Move Tool. But you may also need to increase the number of decimal places displayed for px units in your application Preferences.

Enabling Snapping will help, as well enabling the Snapping option Force Pixel Alignment, and disabling Move by Whole Pixels. But you can still cause issues if you drag an object or Artboard with the Alt key (Windows) or Opt key (Mac) pressed.

 

-- 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

You're welcome.

-- 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 years later...
Link to comment
Share on other sites

2 hours ago, HolyMoly said:

Is this a known (open) bug?

It is the way it works. It is not, as far as I know, considered to be a bug by the designers of the application.

-- 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 months later...

Looking through the bug forums this is mentioned a few times and it appears as if Affinity sees this as a feature, rather than a bug. Now that I'm aware of it, hopefully I will remember to compensate for the functionality in the future as I move between print and web projects. 🤷🏻‍♂️

This is definitely still a bug in v2.3.1 as of Jan 12, 2024.

While I do enjoy that the artboards are easier to control than AI_CS6 (yeah, I held out on not going with the subscription and the functionality may have improved with CC), not having the artboards aware that they're their own set of measurements is bad app design. 

I find the artboard tool very cumbersome as there's no way to select an artboard with the tool. Even an artboard selection tool for manipulation would be better than only being able to create a new artboard with the tool.

The artboard itself not being able to export its own dimensions because it's not in line with the original document origin is not smart. Thankfully someone else troublehsooted this enough for this forum post to already be answered. Off to report the bug in case it hasn't been yet...

Edited by dubbledown
found additional input (bold preface content)
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.