Jump to content

Recommended Posts

Posted

I have a grid of 128px sq. placed every 200px apart, the objects in each artboard are centered with plenty of margin for shadows and other pseudo invisible objects however, in Export persona slices are created 128x129, and put at x:-1 y:0 or x:0 y:-1, which doesn't seem like a lot, except when you export 8x the size it is quite noticeable, though even a single pixel messes things up.

53512342_ScreenShot2023-06-04at02_15_17.thumb.png.0d760789bc8d8e2e49f111a8d6aaee90.png

It's not even the designs with shadows the ones messed up, it wouldn't be great either but at least there'd be an explanation. :(

I've been fixing them one by one but they fight back; when I change positioning, it "corrects" size—that kind of thing. It's double the work. Is there a way to do this in bulk? Export Persona is like another app to me.

Thanks.

Posted

For reasons that I’ve never understood, even if your artboards are exactly 128x128 pixels each the exported width and/or height will be one pixel more for any artboards that are not aligned to the pixel grid.

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)

Posted
3 hours ago, Alfred said:

For reasons that I’ve never understood,...

I think it has to do with Slices being integer Pixels in size and are somehow rigidly fixed to the Document pixel grid. It just seems very weird in that an Artboard can have a pixel grid and items placed and sized to that pixel grid are integer pixels co-ordinates and sizes. Yet on export their slice co-ordinates and sizes are made according to the Document wide Pixel Grid.

 

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

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

Posted

But… they ARE aligned perfectly. You can zoom in forever without a decimal point in the coordinates. Artboards are copies of the same because they have guides (another thing that can't be mass-applied) so I was careful of duplicating with ⌘J then moved with the transform panel. Other designs I'd just ⌥drag it.

Also, you'd think they'd be misaligned all slices in a given axis, but no, some are, some aren't. It's very weird.

Oh well, I'm nearly finished. There were a lot of artboards. I'd hate if I were doing this for work.

Thanks nevertheless. 😃

Posted
16 hours ago, vitaprimo said:

But… they ARE aligned perfectly. You can zoom in forever without a decimal point in the coordinates.

Not sure what you mean about zooming in since that has nothing directly to do with pixel alignment. One thing to check is what the decimal places for pixels is set to in Preferences/Settings -- make sure it is set to 4 or more to avoid the Transform panel showing rounded values. Then check the coordiantes of each artboard.

All 3 1.10.8, & all 3 V2.5.7 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Posted
On 6/4/2023 at 4:49 PM, Old Bruce said:

I think it has to do with Slices being integer Pixels in size and are somehow rigidly fixed to the Document pixel grid. It just seems very weird in that an Artboard can have a pixel grid and items placed and sized to that pixel grid are integer pixels co-ordinates and sizes. Yet on export their slice co-ordinates and sizes are made according to the Document wide Pixel Grid.

Yes, Serif already explained it here. And by the way, it's also why Slices can't be snapped to grids and guides - they're just in a different/incompatible space.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Posted
20 hours ago, vitaprimo said:

they ARE aligned perfectly.

You mean "pixel perfect"?

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Posted

Hi, I’ve had similar issues in latest AD2 on iPadOS 16.5.

On 6/4/2023 at 7:00 AM, Alfred said:

For reasons that I’ve never understood, even if your artboards are exactly 128x128 pixels each the exported width and/or height will be one pixel more for any artboards that are not aligned to the pixel grid.

In my case I “fixed” the problem by realigning my artboards using Transform, and then repositioning my Slices to the correct pixel coordinates.  Which leads me to believe that ArtBoards can reside at fractional pixel locations.

By way of context, I often use shapes like triangles and regular hexagons (congruent to 6 X equilateral triangles),so some measures (height of equilateral triangle) are fractional pixels - correctly.

Export Persona is quite the adventure.  I had one file where Export resolutely insisted on changing X/Y entered as 4500.0 to 4500.1 until I repositioned my artboards. And more exciting when I tried working in other units (cm) very briefly, so I live in a pixel world.  I can enter dimensions in units other than pixels, but Export Persona automatically converts to pixels, very merry when you try to use inches for A4 paper….

Hope this helps, and/or informs.

Posted
On 6/5/2023 at 5:21 PM, Pšenda said:

Yes, Serif already explained it here. And by the way, it's also why Slices can't be snapped to grids and guides - they're just in a different/incompatible space.

Hi @Pšenda, are you able to provide a link to Serif’s explanation, please?  I need to read it, thanks.

Regards

Posted
6 minutes ago, LionelD said:

Which leads me to believe that ArtBoards can reside at fractional pixel locations.

Artboards can indeed reside at fractional pixel locations (and whenever they do, the pixel dimensions of the objects they contain will increase on export).

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)

Posted
5 minutes ago, LionelD said:

are you able to provide a link to Serif’s explanation, please?  I need to read it, thanks.

For example:

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Posted
7 minutes ago, Alfred said:

Artboards can indeed reside at fractional pixel locations (and whenever they do, the pixel dimensions of the objects they contain will increase on export).

I'll just add:

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Posted
2 hours ago, LionelD said:

In my case I “fixed” the problem by realigning my artboards

Just for information - the position of the Artboards is defined by the position of the "Origin" Artboard - i.e. the leftmost and topmost one, which is always at position 0, 0. Very easily (by moving or adding new artboard before/above this Origin artboard) you can mess up the right one (Pixel perfect) positions of the other artboards, or you can correct them on the contrary - by correcting the position of the Origin artboards by the necessary offset, the positions of the others will also be aligned, so they do not have to be corrected one by one.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Posted

@Pšenda Well, that’s probably the most informative thing anyone has said to me the whole year - thanks.  I did not know that.  Amazing where we hide life’s little mysteries.

Have fun in Prague - I think it’s one of the most impressive cities in the world.

Regards

Posted
1 hour ago, Pšenda said:

the position of the Artboards is defined by the position of the "Origin" Artboard - i.e. the leftmost and topmost one, which is always at position 0, 0.

Good point! – The term "Original" Artboard can be misleading as soon any later artboard gets an according position left OR above this initial artboard: It gets more complex if the leftmost artboard is NOT the topmost artboard, then two of two artboards can have one perfect zero and one imperfect decimal position value, for instance:

artboardzeropositiondecimals1.thumb.jpg.bcdcd715a0e0106d852d5e689228a689.jpg

artboardzeropositiondecimals2.thumb.jpg.cbbb1e6d1b798d1b647e4b780844882c.jpg

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

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.