Advertisement


Placed image doesn't show when saving as PDF


Question

I am using Illustrator 17.1.0 to prepare some scientific figures. I have two layers: the bottom one has some placed PDF figures and the top one has annotations.

When saving this as a PDF, the placed figures simply don't show, regardless of the PDF viewer being used (Acrobat, Mac Preview).

Why does this happen? Is this a common/known problem? Is there a solution other than embedding the placed figures?

The reason why I use placed figures is that they're generated by a plotting software and I wanted to make it easy to update them when necessary.


Here's a link to an example showing the problem. plot.pdf is placed and annotated_plot.pdf is saved from Illustrator with "Preserve editing capabilities". When opened with illustrator it shows everything correctly, but when opened with any PDF viewer, it doesn't show the placed file.


This appears to be a bug in Illustrator and happens when placing any PDF exported by Mathematica version 10. It does preserve the placed PDF file, but it sets the bounding box to be of zero width.

Possible workarounds (other than embedding), only for the case when the placed PDF uses no transparency:

  • Re-save the file using Mac Preview before placing it.
  • Re-process the file using GhostScript before placing it. gs -q -sDEVICE=pdfwrite -sOutputFile=output.pdf -dBATCH -dNOPAUSE -c save pop -f input.pdf Using the command-line is advantageous for batch-processing or automation.
2017/06/14
1
9
6/14/2017 4:47:00 PM

Accepted Answer

(Reposting my answer from this thread.)

Setting Compatibility: Acrobat 4 (PDF 1.3) in the Save Adobe PDF dialog in Illustrator solves the issue (checked with Illustrator 17):

screenshot

In the resulting PDF file the transparency will be flattened without rasterization.

2017/04/13
6
4/13/2017 12:55:00 PM