Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).


New Forum | Previous | Next | (P-PDF) Developers


Topic: Transparency images in PDF
Conf: (P-PDF) Developers, Msg: 95051
From: nextstepguy
Date: 8/23/2003 05:21 AM

I've implemented a simple (I think) way to deal with transparent gif images in PDF. I use Java AWT to do the main work, then use the /Mask entry to specify the range of included values for specifying the transparent colors (chroma key.) See sect. 4.8.5. This works fine with Acrobat reader 4/5/6 on Windows when displaying the document on screen. Unfortunatly, a problem arises when I try to print the image. The transparency color is replaced with white.

On Solaris, it's even worse. AcroRead 5 will show the transparent color as it is encoded even on the screen.

I believe that this is a bug in the implementation of mask on both systems because at least for windows it works on the screen. If my code was bogus, result on the screen would render the same problem on a display and on the printer.
The fact that it doesn't even work on Solaris at all is little surprise to me as I am sure that Adobe didn't go in too many efforts on that platform anyway.

Should I use the /Mask in the other way (generating an image mask with the transparent color) and will this work fine on Windows printing and Solaris too? I'd like to make sure this will work before going through the task of reimplementing this functionality.

Thanks for the help in advance.


PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Back to the past, 15 years ago! Open Publish 2002

Looking back to 2002, it's amazing how much of the prediction became a reality. Take a read and see what you think!

September 14, 2017
Platinum Sponsor





Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.

Features

Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.