# \includepdf command disappear the pdf's transparency information?

I have a pdf which has some transparent graphics and words. Like this:(of course it had more words )

then I use \includepdf command to insert this to a latex project .

\documentclass[10pt,a4paper]{article}
\usepackage{pdfpages}
\begin{document}
\includepdf[pages={-}]{未转曲文件---删除多余图片1}
\end{document}


then I curve this pdf through ghostscript tool

gs -sDEVICE=pdfwrite -sProcessColorModel=DeviceCMYK -sColorConversionStrategyForImages=CMYK -sColorConversionStrategy=CMYK -o ./dest.pdf -f ./source.pdf

then it becomes like this:

After using pdf-praser to analize it

/usr/bin/python pdf-parser.py  -o 67 document.pdf


, I found

\includepdf

command in latex makes pdf structure has changed a lot.

origin pdf has a /group which contains transparency information if I am not wrong :

but then it just disappear.

I wonder the reason and it troubles me a week .

https://github.com/David553/latex.git

It's my test pdf files.

• origin-file.pdf is origin pdf file;

• delete-redundant-thing is the file which I delete redundant words and images to convenient test ;

• after-includepdf.pdf is the file which I use \includepdf{} command in latex;

• after-gs.pdf is the file which I use ghostscript line command to curve ;

• Could you add a MWE that replicates your problem? and Welcome to TeX.Se – Raaja May 9 at 9:36
• sorry , I don't understand the meaning of MWE. – user10920710 May 9 at 9:59
• We need something that we can use for tests. – Ulrike Fischer May 9 at 11:18
• I don't find a way to upload pdf ~ , maybe I can give you a github url github.com/David553/latex.git – user10920710 May 9 at 12:09
• Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – Martin Schröder May 9 at 12:32

I cannot see it with an up-to-date TeXLive 2019 and ghostscript 9.26 – Red-Cloud May 9 at 12:26