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

Exporting to PDF Loses Outer Shadows


Recommended Posts

29 minutes ago, mac_heibu said:

... but PDF 1.7 supports transparencies. So there should be no need to rasterize a shadow effect, if Publisher is told to rasterize „nothing". Normally the shadow will be converted to a (semi)transparent element during output. This is the way, InDesign handles it.

Actually, transparency is in pdf level 1.5 and higher.

Nope. ID doesn't give one a choice like Affinity applications do regarding Rasterize: X. ID's bitmap-type effects (which is what drop shadows are)are always raster in output no matter the pdf level. As far as I am aware, there is no application that can output effects like glow, drop shadows, etc, as vector, which would be the only other alternative.

Link to comment
Share on other sites

That is not the point. The shadow elements ARE raster images, of course, but if you export to PDF1.3, they are merged into the background and thus the background, if any, is rasterized together with the shadow. In PDF 1.4 and higher the shadow „layer“ remains a (semi) transparent raster image behind the element, to which it belongs, and is not merged into the background. (This may be done in Adobe‘s PDF Print Engine, if needed and necessary).

Since the OP uses PDF 1.7 output, there should be no need to rasterise and/or remove the shadow (which already is a pixel object), when he chooses the command „Rasterize: Nothing“.

Link to comment
Share on other sites

10 minutes ago, mac_heibu said:

Since the OP uses PDF 1.7 output, there should be no need to rasterise and/or remove the shadow (which already is a pixel object), when he chooses the command „Rasterize: Nothing“.

Publisher just followed Mark's instructions. Since the shadow can only be maintained if rasterized, and Mark said not to rasterize, Publisher deleted the shadow.

Perhaps the more appropriate choice would have been "Rasterize Unsupported Properties" or "Rasterize Everything", to keep everything in the output file.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

Just now, mac_heibu said:

That is not the point. The shadow elements ARE raster images, of course, but if you export to PDF1.3, they are merged into the background and thus the background, if any, is rasterized together with the shadow. In PDF 1.4 and higher the shadow „layer“ remains a (semi) transparent raster image behind the element, to which it belongs, and is not merged into the background. (This may be done in Adobe‘s PDF Print Engine, if needed and necessary).

Since the OP uses PDF 1.7 output, there should be no need to rasterise and/or remove the shadow (which already is a pixel object), when he chooses the command „Rasterize: Nothing“.

I believe you are missing the point...

APub can/does have a separate bitmap object in a pdf if Rasterize: Unsupported properties is set as you say. This is a pdf from APub where I have separated/moved the drop shadow object in Acrobat and as can be seen, nothing was flattened in the process as long as the pdf level is 1.5 and above or pdf/x-4 is used..

Capture_000242.png.a738dcc55a9ace63553c94fb02ac97cd.png

But to the point: The Rasterize: Nothing setting does exactly as it says. Nothing is rasterized in the pdf output and no image effects are exported.

We may argue about the terminology Serif uses. We may even argue that there shouldn't even be this option available--it is not available in, well nothing else I use. But it is there and if one wishes drop shadows et al to export to pdf, that setting cannot be set as per how the OP has it set.

Link to comment
Share on other sites

Ok. I think, I am dealing with an issue of terminology. :)

To make clear, what I meant:

In my understanding shadows already are raster (= no vector) elements, and therefore no (extra) rasterizing is necessary, when exported to PDF 1.4+. In this sense „Rasterizing: Nothing“ shouldn‘t affect these elements at all.

(Re-)Rasterizing of shadows would be necessary in PDF 1.3-, when these shadows have to be merged into an eventually background (= “flattening“). In this sense „Rasterizing: None“ would cause raster effects and other transparency effects to be deleted.

So. in essence, we have the same view on the subject. The problem was terminology.

Link to comment
Share on other sites

34 minutes ago, mac_heibu said:

In my understanding shadows already are raster (= no vector) elements, and therefore no (extra) rasterizing is necessary, when exported to PDF 1.4+. In this sense „Rasterizing: Nothing“ shouldn‘t affect these elements at all.

Yes, it's some form of terminology issue, but its different from that.

Until they are exported the shadows are vector. However, they cannot be exported to PDF and remain vector; they must be either rasterized or omitted.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

1 hour ago, walt.farrell said:

Until they are exported the shadows are vector...

No, I don't believe this is true. If they were, they could be exported as vector. I don't know the internal workings in Affinity software, but if I were to guess, they are at best simply a scalable effect contained within a vector object. 

Link to comment
Share on other sites

14 minutes ago, MikeW said:

No, I don't believe this is true. If they were, they could be exported as vector. I don't know the internal workings in Affinity software, but if I were to guess, they are at best simply a scalable effect contained within a vector object. 

Same thing, really, to me. If they're an effect within a vector then they are not raster objects themselves. Therefore it is still in the process of producing a PDF that they need to become either rasterized or omitted.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

11 minutes ago, walt.farrell said:

Same thing, really, to me. If they're an effect within a vector then they are not raster objects themselves. Therefore it is still in the process of producing a PDF that they need to become either rasterized or omitted.

Really? Then consider the pdf. It too contains the bitmap effect clipped in a vector shape. So does that mean the bitmap shadow, because an effect within a vector then they are not raster objects themselves?

Link to comment
Share on other sites

Good point, Mike. Thanks.

(Does not change the fact that they are not rasterized in the native Affinity format. Perhaps it's best to consider them neither vector nor raster there. Nor does it change the fact that they must be either rasterized or omitted to produce the PDF, and the user has control over that via the Export options.)

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

This is a known bug with 1.7.2 when exporting to PDF in fact it also effects live effects so currently a workaround is to copy groups which use live filters and effect and rasterise before Pdf stage - hopefully they'll fix this for the next update - I've not yet tested the latest beta so not sure wether all is well yet

Daz1.png

Mac Pro Cheese-grater (Early 2009) 2.93 GHz 6-Core Intel Xeon 48 GB 1333 MHz DDR3 ECC Ram, Sapphire Pulse Radeon RX 580 8GB GDDR5, Ugee 19" Graphics Tablet Monitor Triple boot via OCLP 1.2.1 - Mac OS Monterey 12.7.1, Sonoma 14.1.1 and Mojave 10.14.6

Affinity Publisher, Designer and Photo 1.10.5 - 2.2.1

www.bingercreative.co.uk

 

 

 

 

 

Link to comment
Share on other sites

Also messes up transparency  for me exporting to PDF 1.7  - fixed using rasterising - which was OK as it was a background layer - I have yet to see what happens with transparency in a top layer

Win 11 PCs 64bit  Envy and Envy tablet + Filter Forge  Retired computer systems tester doing graphics for charities and politics etc.

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.