Jump to content

Recommended Posts

Posted

Hey everyone,

For a long time, I've been facing a specific issue when exporting PDFs using Affinity Designer 2. A thin white line, sometimes barely noticeable and other times more visible, appears in my exported document. I’ve noticed this is related to the pixels in my documents: the issue tends to occur when the canvas has fractional pixels. In other words, the canvas sometimes cuts through pixels, and when exporting, the leftover part of these cut pixels turns into a white line. It’s hard to explain, so I’m attaching an image to this post to better illustrate the problem.

The thing is, I don’t know how to fix this. Aligning everything perfectly to the pixel grid in the canvas works, but this isn’t an option for me as I need precision.

Details: I’m exporting using the PDF for print preset. Apologies if my explanation isn’t very clear. English isn’t my native language, and describing this issue in it was quite challenging.

Thanks in advance!

This is how it appears in my PDF viewer.

Capturadetela2024-12-06143732.png.791a8ddd06c8109925c432117774dba2.png

This is how it appears in Affinity Designer.

Posted

You are right that fractional size or position causes the issue.

2 hours ago, OSunBoy said:

Aligning everything perfectly to the pixel grid in the canvas works, but this isn’t an option for me as I need precision.

What do you mean by this? If you export to raster formats, precision means rounding up document size to multiples of pixels. You can’t have it at the same time - exact physical units like millimeters and having whole pixels. To avoid this thin lines, you must round up or choose dpi settings leading to whole pixels.

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted
23 minutes ago, NotMyFault said:

What do you mean by this? If you export to raster formats, precision means rounding up document size to multiples of pixels. You can’t have it at the same time - exact physical units like millimeters and having whole pixels. To avoid this thin lines, you must round up or choose dpi settings leading to whole pixels.

But I’m not trying to export to a raster format; I’m exporting to a vector format (PDF). The document from which I shared some screenshots comes from another file created by someone else, who exported it as a PDF and didn’t encounter any white lines. I’m using the exact same document, with the same properties, and this issue still occurs. The only real difference is that we’re using different software.

Posted

Do you observe the lines while rendering in Designer, or after exporting?
Which view mode do you use in Designer?

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted
15 hours ago, NotMyFault said:

Do you observe the lines while rendering in Designer, or after exporting?
Which view mode do you use in Designer?

 

The last image I attached to the post shows how it appears in Affinity, just like the second one does — no white lines. Sorry for not specifying this in the post. I only see the white lines after exporting. As for your last question, I didn’t quite understand it. Could you clarify it a bit more? Either way, I’m attaching the file where I’m experiencing this issue (it’s just one of many).

Sentimentos Menino 2 (espanhol).afdesign

Posted

Affinity allows to specify document size in physical units like point.

When exported to PDF, it always rounds up to multiples of pixels (using document DPI setting).

You must specify whole pixels sizes to avoid.

Otherwise you always get a 1px wide seam line on right or bottom side.

Image in Designer (on iPad)

IMG_2050.thumb.jpeg.0c0188b3aff0c6f9eb2db922ae10c2da.jpeg

PDF re-opened in Designer

IMG_2052.thumb.jpeg.0f1d4fabd6470bbfcd994fcda1287794.jpeg

IMG_2051.jpeg

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted
12 minutes ago, OSunBoy said:

As for your last question, I didn’t quite understand it. Could you clarify it a bit more?

https://affinity.help/designer2/en-US.lproj/pages/GetStarted/view.html

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

I’m viewing the file in vector mode. I understand what you’re saying, but is the only solution to change the document dimensions to whole pixel multiples? I ask this because, as I mentioned before, this document was created by someone else using a different software, and when they exported it, this issue didn’t occur, even though there are fractional pixels.

Posted

This behavior of Affinity apps wrt fractional pixel size has been discussed and criticized by users since day 1. I don’t know any trick or shortcut to avoid.

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted
47 minutes ago, NotMyFault said:

This behavior of Affinity apps wrt fractional pixel size has been discussed and criticized by users since day 1. I don’t know any trick or shortcut to avoid.

Damn, that’s really frustrating. It’s a shame that the developers haven’t addressed this issue yet, even though it’s such a basic feature and has been requested for so long. It’s not like we didn’t pay for the software, after all.

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.