Jump to content

Affinity Publisher: filter on opacity glitch when exporting to pdf


Recommended Posts

Affinity Designer 2.1 and 2.2.0 2005 beta (help says:  2.2 eb0ee), on iPad Pro 12.9 sixth generation, iPadOS 16.6.1.

A transparent png with a filter on a background with reduced opacity (e.g. 50 %) will darken the background within the bounding box of the png when exported to pdf.

See the two screen shots below (cropped). The rightmost one is from the pdf and has a darker area in the transparent part of the png:

image.png.429ed0c27f880d57ff1080427dba4f25.pngimage.thumb.png.123b9acb2dcd60efbfbbc03613fa1586.png

The enclosed zip file has 7 files with reduced complexity with only one page with two objects (extracted from a 144 page book with several of those glitches in seemingly random places).

The files with suffix beta are pdf's generated by the beta version. The other pdf files are generated with AP 2.1.

The three original files: 

1. filter-opacity-pdf-glitch.afpub: Reduced original that exhibits the export glitch. It has a png with an adjustment filter on top of a blue background with partial opacity.

2. opacity-pdf-glitch.afpub: Without the png adjustment filter. Produces no glitch.

3. filter-pdf-glitch.afpub: With full opacity of the background. Produces no glitch.

As for other pdf generation errors, there are workarounds (e.g. produce the colour levels without opacity reduction), but they are quite cumbersome and troublesome to first detect, and next figure out.

Best regards,
     Hans

PS: The example glitch is pretty light. One may obtain much darker contrast glitches.

pdf-png-glitch.zip

Link to comment
Share on other sites

Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5
Affinity Designer Beta 2.6.0.2861 | Affinity Photo Beta 2.6.0.2861 | Affinity Publisher Beta 2.6.0.2861

MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Link to comment
Share on other sites

10 hours ago, Hangman said:

See if the attached Publisher file works for you...

Hi Hangman, that also seems to work. What did you do the to document? The adjustment layer and the 50 % opacity still seem to be there.

In my original document I ended up replacing the 50 % opacity with 100 % opacity and increasing the luminance (in HSL colour view) to match what it was. That has the added advantage of removing some transparency, something PDF tends to get wrong when printed, even if the PDF looks ok on-screen.

Link to comment
Share on other sites

Hi @Dybkjær,

Take a quick look at the layers panel. I simply added the recolour adjustment layer directly to the 'stjernebørn hdb' layer (right image).

pdf-png-glitch.png.b4e3e43e8c9bb4fed8ad71e96586c139.png

Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5
Affinity Designer Beta 2.6.0.2861 | Affinity Photo Beta 2.6.0.2861 | Affinity Publisher Beta 2.6.0.2861

MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Link to comment
Share on other sites

47 minutes ago, Hangman said:

Take a quick look at the layers panel. I simply added the recolour adjustment layer directly to the 'stjernebørn hdb' layer (right image).

Thanks. Yes, I see it. A simpler solution to the adjustment.

Still, the glitch is an error, but I'll have your approach in mind next time I do this sort of thing.

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.