Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

pdfLaTeX generates PDF-page with transparency operators.

Minimal example:

\documentclass{report}
\usepackage{graphicx}

\begin{document}
 \includegraphics{image.pdf}
\end{document}

image.pdf is PDF 1.4, but no transparency operators is used. If i try to generate PostScript, i get clear result without unwanted rasterization. This works fine (pdftops is from poppler-utils):

$ pdftops image.pdf

But when i try to compile minimal.tex and generate PostScript out of minimal.pdf, i get rasterized image in ps-file. The same with printing.

$ pdflatex minimal.tex && pdftops minimal.pdf

Also i tried to convert image.pdf to PDF 1.2 with ghostscript:

$ pdf2ps image.pdf - | ps2pdf12 - image12.pdf

When i include image12.pdf instead of image.pdf, i get correct result from pdfLaTeX (minimal.pdf can be correctly converted to PostsScript or to be printed).

So, can i force pdfLaTeX to import PDF 1.4 files with PDF 1.2 compatibility?

share|improve this question

closed as unclear what you're asking by Joseph Wright Aug 22 '13 at 20:55

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Welcome to TeX.SX! You can have a look on our our starter page to familiarize yourself further with our format. –  Claudio Fiandrino Jul 2 '13 at 9:46
1  
I don't think so. AFAIK, pdflatex does not perform any conversions to embedded PDF images. My assumption is, that your image does contain a transparency operator, but pdftops and gs are clever enough to detect it as a no-op in the image file, but no longer if it got embedded inside minimal.pdf. I would just convert the image to PDF 1.3 and for good. –  Daniel Jul 2 '13 at 14:14
    
Are you really sure that pdfTeX is producing incorrect PDF and not your PostScript rasterizing process? –  Martin Schröder Jul 2 '13 at 20:07
    
With no example graphic and no feedback on the comments, we can't really answer here. I'm saying 'unclear' as a result. –  Joseph Wright Aug 22 '13 at 20:55