Image transparency not honored in PDF

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.

Image transparency not honored in PDF

Postby MCPBecker on Tue Mar 18, 2014 3:53 pm

I found an old topic saying that transparent backgrounds for images don't work in PDFs. This still seems to be the case in Flare 10. Hasn't this been fixed?
~M Becker
MCPBecker
Propeller Head
 
Posts: 64
Joined: Tue Feb 26, 2013 6:12 pm

Re: Image transparency not honored in PDF

Postby Dave Lee on Mon Mar 24, 2014 3:56 am

What images are you using?

PNG images with transparent backgrounds work fine for me in PDFs, using Flare v9.
Dave Lee
Master Propellus Maximus
 
Posts: 6156
Joined: Mon Mar 05, 2007 8:33 am
Location: UK

Re: Image transparency not honored in PDF

Postby Helga WHigg on Thu May 15, 2014 8:32 am

I'm experiencing this as well in v9. I stumbled onto a blog that mentioned setting style backgrounds to "transparent," but nothing is working for me.
Helga WHigg
Jr. Propeller Head
 
Posts: 3
Joined: Thu Aug 08, 2013 2:05 pm

Re: Image transparency not honored in PDF

Postby Dave Lee on Thu May 15, 2014 11:05 am

Does the image actually include transparency?
Only certain image types support transparency (PNG, GIF), and the image must be saved with this transparency information.
If an image doesn't include transparency, you need to edit the image file itself to set it.

Setting a background colour to 'transparent' in your stylesheet (CSS) will have no effect on an image; that only affects the image tag/container, not the image itself.
Dave Lee
Master Propellus Maximus
 
Posts: 6156
Joined: Mon Mar 05, 2007 8:33 am
Location: UK

Re: Image transparency not honored in PDF

Postby asmith on Wed Jul 09, 2014 11:18 am

My workaround for v9 had been to not edit the transparent image in Flare at all. I just resized the image outside of Flare to be the exact size I need, then imported it into Flare as usual. Editing transparent images in Flare doesn't affect the web-based outputs, just the printed ones. Guess this is still a bug in v10? I've not had to deal much with transparent images in this version, but my imported transparent images from v9 have held up so far using this workaround.
Allison

MadCap Tools: Flare 12, Capture 7
Running on: Windows 10 32-bit, Parallels v12, macOS Sierra 10.12
asmith
Propeller Head
 
Posts: 46
Joined: Wed Sep 25, 2013 12:31 pm

Re: Image transparency not honored in PDF

Postby ajturnersurrey on Thu Dec 03, 2015 2:56 am

This still seems to be a problem in v11!

Wierdly in my case image transparency for .png files is honoured in the topic preview, but not when the pdf target is built.

Anyone aware of any steps to get around this - I just want to get what I see in preview when I actually build the pdf!

Correct - Topic preview
correct.png


Incorrect - Built pdf target
incorrect.png


Can anyone suggest how I might correct this.
You do not have the required permissions to view the files attached to this post.
ajturnersurrey
Sr. Propeller Head
 
Posts: 339
Joined: Fri Nov 05, 2010 3:30 am

Re: Image transparency not honored in PDF

Postby ajturnersurrey on Thu Dec 03, 2015 3:08 am

Nothing like posting a request for help to ensure you figure out the answer yourself -
Setting image compression to automatic rather than jpeg did the trick!
ajturnersurrey
Sr. Propeller Head
 
Posts: 339
Joined: Fri Nov 05, 2010 3:30 am

Re: Image transparency not honored in PDF

Postby kirinawust on Wed Nov 06, 2019 5:14 am

THANK YOU! I was searching for this for ages!
kirinawust
Propeller Head
 
Posts: 17
Joined: Tue Nov 05, 2013 5:08 am

Re: Image transparency not honored in PDF

Postby Jeong on Fri Jun 17, 2022 1:58 am

In case the internet is wondering about this, it's still a problem in 2022, and the option to set Image Compression to "automatic" in the target PDF Options does not work.

The issue for me is MadCap Capture (v. 7 is the latest in 2022). If the image has a Capture profile associated with it (you'll see a <filename>.<ext>.props file along with the image if you browse to it with File/Windows Explorer), then the background becomes white. If I remove the Capture profile and delete the corresponding .props file, then it renders as transparent.

I believe this is related to the Capture bug where if you drag a text callout bubble with a transparent background outside the image boundaries, the text is rendered bold.

Although it's frightening to have bugs live this long, they don't appear to have evolved any kind of individual or hive intelligence, so I don't think they pose a threat to humanity.
Jeong
Propeller Head
 
Posts: 25
Joined: Wed Jan 01, 2020 12:05 am


Return to Printed Documentation Targets

Who is online

Users browsing this forum: No registered users and 8 guests