I'm dealing with an annoying behaviour of my pdf file. It seems that Acrobat or Reader doesn't recognize the images. I work with texlive on Ubuntu 11.04 and I compile the source file with pdftex in texmaker. The strange thing is that on my machine the pdf is fine, I can open it and see all the text and images correctly with evince and with Pdfxchange viewer running under wine. But if I switch to Windows with Acrobat or Reader I have this problem.
Does anyone have any clue? I'm using \pgfimage to generate the figures in my document.
MWE:
\documentclass[a4paper, oneside, 12pt]{book}
\usepackage{pgf}
\begin{document}
\begin{figure}[h]
\includegraphics[width=\textwidth]{image.png}
\end{figure}
\newpage
\begin{figure}[h]
\pgfimage[interpolate=TRUE, width=\textwidth]{image.png}
\end{figure}
\newpage
\begin{figure}[h]
\pgfimage[width=\textwidth]{image.png}
\end{figure}
\end{document}
pdftkto correct any errors in the file but didn't got any warnings and the resulting files caused the same errors. Maybe try without theinterpolateoption or with\includegraphicsinstead. – Martin Scharrer Sep 14 '11 at 15:31interpolate=TRUEoption. So, a workaround would be not using the option or using\includegraphicsas suggested by Martin. It would be interesting to test this on Windows to see if the problem still occcurs. Thanks! – Mihai Terente Sep 14 '11 at 16:13