Transparency in PDF files

Transparency in PDF files refers to objects on a page, such as images or text, which are transparent or ‘show through’. Transparency is typically used for shadow effects, to lighten (parts of) images so that the text on top remains readable, to make objects fade into another object or to create a tint of a certain color.

PDF 1.4 (the file format supported by Acrobat 5) was the first version of PDF that supported transparency.

It obviously isn’t a coincidence that this PDF release came to market around the same time that Adobe Illustrator 9 was launched. Transparency was ‘the’ big new feature in that release. Other applications like Corel Draw had already supported transparency for years but had to resolve to a trick to generate a printable file: when creating an EPS file or printing a drawing, the application had to remove or calculate the transparency effects. This process is called ‘flattening’.

Adobe also included transparency support in InDesign and they heavily promoted its use to the designer community. Suddenly prepress departments all over the world were flooded with designs that included transparency and their RIPs had to flatten this transparency to be able to make proofs or output plates.

The challenges when transparency is flattened

Transparency is a very complex technology. The Adobe technical documentation on it is over 100 pages long. To simplify things, applications tend to split up a page in small square areas, called atomic zones. The effect of transparency is then calculated for each separate atomic zone. The stitch between atomic zones can sometimes show up on-screen (and even in output) as thin white lines.

Another stumbling block is the fact that a PDF file can contain transparent objects with different color spaces. Adding a drop shadow to a spot color element that sits on top of a CMYK background (or vice versa) is an example of a design that challenges the RIP or workflow that needs to process the job. Making an RGB image slightly translucent on top of a CMYK background is another example. Issues with color handling can show up as color shifts in (part of) an image.

Sometimes transparency involves the interaction between a vector based object, such as text, and a bitmap object, such as a digital photograph. Under some circumstances software needs to partially convert a vector object to a bitmap. This is frequently the reason why text fattens up a bit on output.

On top of all of this software applications needs to work out how to best handle groups of objects that are transparent. Should each object in turn be blended into the background or should it be done on the entire group? Older prepress systems can really slow down when they need to flatten transparency.

Adobe were well aware of these issues. In 2006 they announced a complete rewrite of their RIP technology, called the Adobe PDF Print Engine (or APPE). It replaces the CPSI that was used in previous generations of RIPs and prepress workflows. As its name implies, APPE is much more efficient in handling PDF files that contain transparency. The original 1.0 release still had some issues but the version that is nowadays used in workflows from Agfa, Kodak or other vendors is pretty reliable. Ironically enough Adobe’s main competitor, Global Graphics, had already adapted their interpreter, called Harlequin, much earlier. Modern systems based on the latest versions of this product can also handle transparency without too much effort.

How transparency gets added to a PDF

Sometimes designers are not even aware that their creation contains transparent objects. These are the actions that add transparency to a layout:

  • Making an object transparent in a lay-out or design application (obviously).
  • Adding drop shadows to objects.
  • Feathering objects.
  • Placing native files which contain transparency from Adobe Illustrator, InDesign or Photoshop.
  • Dragging & dropping or copying & pasting transparent objects from applications like Adobe Illustrator to Adobe InDesign.

When do such transparent objects lead to a PDF file with transparency in it?

  • PostScript does not support transparency. If a designer prints a file to PostScript and then uses Acrobat Distiller to convert this file to PDF, the resulting file will not contain any transparency.
  • EPS files are PostScript files. They also cannot contain any transparency.
  • PDF 1.3 files also cannot contain transparency. If a designer exports to PDF 1.3, the design application flattens the transparency.
  • Only when the design application allows you to ‘Save’ or ‘Export’ to a PDF 1.4 or higher file format, can you end up with a PDF file that contains transparency.

How to check if a PDF contains transparent objects

If you have Adobe Acrobat Professional, it is easy to detect if a PDF contains transparency. The preflight engine of recent versions can list all transparent objects in a file. Below is a screen capture of the preflight window of Acrobat Professional 8.

Acrobat preflight transparency

Other preflight engines like PitStop Professional can also be used to detect transparency.

To designers it is not always obvious when their files contain transparency. InDesign has a very nice mechanism for this. Pages that contain transparent objects have a checkerboard pattern in the pages list. InDesign indicates this per spread, even if only one of the two pages contains transparency. In the example below page 2, page 3 or both pages contain transparency.

InDesign transparency

Tips & tricks to avoid having issues with transparency

You can download the Adobe designers guide to transparency here. Quark have a similar document for QuarkXPress 7 transparency.

Other sources of information

Adobe have produced an excellent white paper on the use of transparency in print production.

9 August 2013

7 Responses to “Transparency in PDF files”

  1. janani says:

    really satisfied with the explanation though i am a beginner

  2. Martin says:

    Thanks for the infos. I ran into the problem that my colors changed (from gray to blueish gray) in Acrobat Reader after I added transparency to a vector graphic created with pdfLaTeX and the PGF/TikZ package v2.0.

    Thanks to your info about mixed CMYK/RGB colors I came to the idea to force CMYK colors onto the whole graphic, which fixed it. (Note to LaTeX users: simply load the ‘xcolor’ package with the ‘cmyk’ option)

  3. Iva says:

    Hi..thanx for great info..But I still have a problem…I am trying to make a PDF from Allplan Nemetchek with Adobe PDF Creator…I have done everything that is explaned above,but I still can get parts of transparent objects..for example, parts of bushes under the trees…although they exists on original plan… Can someone help me?….

    Thanx….

  4. mia says:

    I am trying to save photoshop files with transparent backgrounds as pdf but in each case I loose the transparency > can anyone help please?

    • E says:

      That would be because you cannot. PDFs are treated like paper documents in acrobat reader (and all the other readers I know of) – it will not appear transparent unless you leave it as an editable pdf and open it in Photoshop. It will be transparent in photoshop, but will never appear transparent in acrobat reader. Instead, everything transparent will show white in acrobat reader, though as long as it’s an editable pdf, all the transparent information will still be there when opened in the appropriate editing program.

    • Tom says:

      You can set Adobe Reader to show the page transparency by selecting “Show Transparency Grid” in Preferences.

    • Laurens says:

      One lives and learns – I just gave this a try with Reader 9 (Edit > Preferences > Page Display category > activate ‘Show transparency grid’). The transparent background in the PDF is indeed marked using a checkerboard pattern.
      Thanks Tom!


Advertising