I am trying to place a PNG-Image in the headline of a beamer poster, while using a pdf_tex from Inkscape in the body. It works perfectly fine in TexStudio and the preview shows me a nice result. But Acrobat says
There was an error opening this document. The file is damaged and could not be repaired.
However, both chrome and firefox open the file without any problems. I boiled it down to the following MWE:
\documentclass[final]{beamer}
\usepackage[orientation=portrait, size=a0, scale=1.7]{beamerposter}
\setbeamertemplate{headline}{
\includegraphics[height=10cm]{test.png}
}
\begin{document}
\begin{frame}[t]
\begin{figure}
\def\svgwidth{0.5\textwidth}
\input{test.pdf_tex}
\end{figure}
\end{frame}
\end{document}
The test.png is an image I created with paint, it has a resolution of 1746 x 546 pixels. The pdf_tex file is a simple circle, no filling color, no text, no nothing.
inkscape -D -z --file=$file --export-pdf="${file/svg/pdf}" --export-latex=with a local SVG file and your MWE produces a valid A0-sized PDF on my device. – epR8GaYuh Feb 06 '17 at 09:41