Jump to content

Recommended Posts

Posted

I have designed a book with almost 200 photographs in Affinity Publisher. I have to upload a pdf of the book to my book publisher. However, they are flagging my pdf file with the following message.

We detected an element that may be transparent within your file. We strongly recommend flattening or removing any transparencies in your file. 

1. How do I find a file or two that may contain transparencies?

2. I've read several times articles about flattening. I am simply grouping layers and rasterizing to flatten. Is that the easiest thing to do to "flatten" transparencies?

 

Thanks for your help.

Posted (edited)

Hi,

there are many options. Flattening (in Affinity) does not include matting (replace transparency by a selected color).

Ad 1: identify transparent areas.

If you have Photo, open the file in Photo nd use the channels panel to only inspect the alpha channel.

If you have only Publisher: add a channel mixer adjustment, and use specific settings:

R, G, B: set R,G, B to 0, and alpha to 100%

Alpha: set all to 0, and offset to 100%

This maps the alpha channel into a greyscale image.

You can use curves or levels to further boos contrast, to see areas which are not 100% alpha.

Ad 2:

As explained, flattening does not include matting (removing transparency).

The simplest method is to add a white or black rectangle as bottom layer to every master page.

 

PS: you may export as PDF/x 1a

 

PDF/X options are pro-print PDF presets that create PDF files that output to CMYK color space and can embed all fonts.

  • PDF (PDF/X-1a:2003)—based on PDF 1.4, flattens transparency, no color management

 

https://affinity.help/publisher/en-US.lproj/pages/Publishing/publishPDFFiles.html

Edited by NotMyFault

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

Thanks for your quick responses.

 

I'm just a 90-day wonder at Affinity, so I really appreciate your help/

Stupid question maybe, but here goes.

 

Where do I find alpha channel?  On Histogram, I have Red Blue and Green Channels, but not alpha.

Seriously, thank you for your patience.

Posted
5 minutes ago, drdavendallas said:

Where do I find alpha channel?  On Histogram, I have Red Blue and Green Channels, but not alpha.

The histogram does not show the alpha channel. 
but you can map the alpha channel into the regular RGB channels, as i explained in m y first post.

I will upload an example file with that adjustment layer in a minute. 

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

Here the file. Copy the two adjustments as top layer into you file. Black indicates transparent areas.

alpha to rgb.afphoto

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

no worries. Lets try one method step by step

You file normally contains several pages (master and regular pages).

  1. Select the first master page
  2. Add a rectangular shape in the exact size of the master page
  3. Set its Fill color to pure white
  4. Use the move tool. Move the rectangle layer to the bottom position in the layer stack of the master page
  5. repeat this process to all master pages.

BTW: any chance you can upload the actual file, or at least a few pages from it?
 

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted
9 minutes ago, drdavendallas said:

This is the file of the entire book's innards. I hope you can see the images. I have them linked instead of embedded.

So, this is where I have a transparency someplace.

Granbury Book 3-x.afpub 11.88 MB · 0 downloads

Hi,

I create 2 master pages, added a white rectangle to them, and assigned the master pages to all regular pages. Should be fixed now.

 

The advise is to always use (and start with) master pages when working in publisher.

I hope this solves your issue.

Granbury Book 3notransp.afpub

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

Sorry -- I keep discovering stuff.

Somewhere in my tinkering with the transparency question, I've wiped out my master pages and my sections. 

"All the fields are gone, and the sky is gray ..."

 

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.