Guest Posted October 14, 2022 Share Posted October 14, 2022 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. alpha.afpub alpha.pdf Quote Link to comment Share on other sites More sharing options...
User_783649 Posted October 14, 2022 Share Posted October 14, 2022 Very interesting, Bryan. Same images in TIFF format exporting with shadows correctly. Seems like an issue with PNGs. In APub: Export to PDF: thomaso 1 Quote Link to comment Share on other sites More sharing options...
thomaso Posted October 14, 2022 Share Posted October 14, 2022 Strange, with your used PDF v1.7 (preset "for print"?) my ancient Acrobat reports an issue with the minimum required PDF v.1.4 … … 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 User_783649 1 Quote macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1 Link to comment Share on other sites More sharing options...
Staff Callum Posted October 14, 2022 Staff Share Posted October 14, 2022 Hi Bryan Rieger, 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 C test export x1-a.pdf Quote Please tag me using @ in your reply so I can be sure to respond ASAP. Link to comment Share on other sites More sharing options...
thomaso Posted October 14, 2022 Share Posted October 14, 2022 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: Quote macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1 Link to comment Share on other sites More sharing options...
User_783649 Posted October 14, 2022 Share Posted October 14, 2022 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. Quote Link to comment Share on other sites More sharing options...
thomaso Posted October 14, 2022 Share Posted October 14, 2022 Strange because v1.7 doesn't work while v1.6 does, respectively a strange X-1 suggestion, assuming that flattening is not the wanted option for the OP. User_783649 1 Quote macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1 Link to comment Share on other sites More sharing options...
Guest Posted October 14, 2022 Share Posted October 14, 2022 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. Quote Link to comment Share on other sites More sharing options...
User_783649 Posted October 14, 2022 Share Posted October 14, 2022 @Bryan Rieger Actually X-1a doesn't look like a solution because according to specs transparency will be flattened (baked in). Once you will want to edit it you'll get the following: Quote Link to comment Share on other sites More sharing options...
Guest Posted October 14, 2022 Share Posted October 14, 2022 @Alex M 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. Thanks! Quote Link to comment Share on other sites More sharing options...
User_783649 Posted October 14, 2022 Share Posted October 14, 2022 (edited) 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. test.pdf test.afpub Edited October 14, 2022 by Alex M Replaced APub file (both images are embedded now) Quote Link to comment Share on other sites More sharing options...
Guest Posted October 14, 2022 Share Posted October 14, 2022 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. Thinking Reaction GIF by SpongeBob SquarePants - Find & Share on GIPHY.mp4 Quote Link to comment Share on other sites More sharing options...
thomaso Posted October 14, 2022 Share Posted October 14, 2022 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. Quote macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1 Link to comment Share on other sites More sharing options...
Recommended Posts
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.