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

Gray lines around imported images in Affinity Photo when exported to pdf


Recommended Posts

Please look into the matter. When I paste external images to Photo and then try exporting to PDF the PDF contains gray lines bordering those images. In one instance, I copied an excel table as a picture, rasterized it and then used auto contrast which removed the box around the text. But when exporting to PDF it shows those box lines. What I did was to first export it as a high res tiff and then print to pdf. However, the developers need to work on this issue as not everyone will like to export is to tiff and then convert to pdf especially for large size files or doing multiple files at once.

Link to comment
Share on other sites

8 hours ago, Debatosh said:

the PDF contains gray lines bordering those images

Yes, unfortunately it happens. In my opinion, this is due to inserting the image as an "Image" layer, not a "Pixel" layer, so just rasterize the layer before exporting. There may be a problem recalculating the inserted pixels to the new position.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
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.

Link to comment
Share on other sites

  • 2 years later...

I get the same thing. It's something to do with shadows, I think: because while most of the several reports on these forums about this issue talk about grey lines, on this image where the shadow should be brown, the lines are brown.

Sample from the PDF in Acrobat (as it should be):

image.png.845d541131f8f6901be4078b820016ce.png

Imported into Affinity Photo:

image.png.98cedd11ff9c1b9f4725330bdc998954.png

Note that while the original post here said this happened on export to PDF, this is what I see as soon as I import the PDF into Photo.

I can literally open the PDF in AP, the lines are there, and of course if I then re-export the image as a new PDF those artifact lines appear in the new PDF! Every PDF I've tried to open in Affinity Photo is showing issues like this?

Edited by Bobolous
just adding some clarity
Link to comment
Share on other sites

Just for the record, @Dan C and I chatted in DM. They were super helpful and tracked down more or less exactly what the issue is, but it's to do with how the shadow layers were exported by the original designers from InDesign to PDF, and at least this particular issue with the square "outline" artifacts can be seen when re-importing that PDF into lots of common graphics apps (not just Affinity Photo and Publisher).

In essence, graphics apps are importing a full coloured rectangular layer, then applying a mask to this object in order to display the shadow effect, however the Mask size is clipped to the size of the 'Group' that contains both the Rectangle object and Mask - which appears to be 1px smaller than the Rectangle itself, causing the thin lines we're seeing.

With permission I took Dan's findings and have emailed them to the original publisher. Maybe they'll reissue the digital downloads. Maybe they won't. But if your'e seeing a similar issue it might be caused by something like the above!

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.