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

Exported PDF missing image details


Guest

Recommended Posts

I just ran across a really strange issue when exporting a PDF from Affinity Publisher. I have a PNG image that contains a rendered drop-shadow (not a live effect) as seen in the original artwork (exported from Designer). Exporting this to a PDF (print or digital) results in the shadow disappearing visually (actually it appears to be rendered as a very subtle white haze if you zoom in). Doing the same test in InDesign works as expected, so I'm not entirely sure what's going on here.

An example Publisher file along with an exported PDF file have been provided.

image.thumb.png.e38073d830f7879303c368dba2b1a30e.png

alpha.afpub alpha.pdf

Link to comment
Share on other sites

Strange, with your used PDF v1.7 (preset "for print"?) my ancient Acrobat reports an issue with the minimum required PDF v.1.4 …

1821007875_pngtransparencyasPDFexport.thumb.jpg.1881b246d952c53b7c51a6331aeb533b.jpg


… whereas it works if exported as PDF/X-4, though it reports a lower PDF version (1.6). But then the image gets compressed as JPEG – different to the zip/deflate compression with your PDF.

alpha_X-4.pdf

2129252663_pngtransparencyasPDFexportX-4.thumb.jpg.9c566d7f0f07a2d206835ebde1dc0c7f.jpg

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

Link to comment
Share on other sites

13 minutes ago, Callum said:

I imagine this is because this PDF standard flattens transparency.

In contrast, it is strange that PDF/X-4 (attached above) exports the shadow correctly and without flattening, which is noticeable when you open the X-4.pdf in APub:

131591192_pngtransparencyasPDFexportX-4_apub.jpg.3fa0b8c19bcc6be251d7b9989f6497a7.jpg

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

Link to comment
Share on other sites

15 minutes ago, thomaso said:

it is strange that PDF/X-4 (attached above) exports the shadow correctly

Why it is strange? PDF/X4 is based on PDF 1.6 according to specs and fully supports live transparency. PDF/X-1a is based on PDF 1.4 which supports transparency, but according to X-1a specs all transparency needs to be flattened.

Link to comment
Share on other sites

1 hour ago, Callum said:

When I export this file using the PDF x-1a:2003 preset the shadow effect looks correct. I imagine this is because this PDF standard flattens transparency. What happens when you try using this preset?

Thanks @Callum exporting using the PDF x-1a:2003 preset does indeed render as expected.

Unfortunately this requires the user to understand far more about the various PDF versions and specifications than most casual users will have (or have patience for).

It's also strange (as @Alex M mentioned) that if I use a TIFF instead of a PNG it works as expected using the default print/digital export preset settings. I'm not sure what a fix for this might look like (or if it is indeed even broken), but it does result in a confusing user experience (compared to using InDesign) should someone run up against this issue using transparent PNGs (increasingly likely today via the web) in their workflow.

Link to comment
Share on other sites

Now, the most interesting part. I made another file containing another PNG image and couple of transparent shapes. I also placed Bryan's PNG image there. Turns out everything exports just fine using default Print preset. The only thing that fails is Bryan's PNG icon.

795715682_ScreenShot2022-10-14at18_08_23.png.c3d66563eaadc871d134f10b22ec3f7b.png

test.pdf

test.afpub

Edited by Alex M
Replaced APub file (both images are embedded now)
Link to comment
Share on other sites

7 minutes ago, Alex M said:

Now, the most interesting part. I made another file containing another PNG image and couple of transparent shapes. I also placed Bryan's PNG image there. Turns out everything exports just fine using default Print preset. The only thing that fails is Bryan's PNG icon.

The plot thickens. I have no idea what to do with that information, but it's interesting none the less.

 

Link to comment
Share on other sites

3 hours ago, Bryan Rieger said:

ah, damn… hopefully having the transparency baked will be okay with this project. I'm not sure anyone is going to edit the PDF after.

... you still have the option of PDF/X-4 which obviously does display the shadow of your .afpub but without flattening it.

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

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.