I have a pdf file which contains a figure in it. I can insert it by LuaLaTeX or pdfLaTeX, but can't be inserted by XeLaTeX. What is the reason?
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}
\includegraphics[]{1.pdf}
\end{figure}
\end{document}
The error in XeLaTeX is
xdvipdfmx:fatal: Image inclusion failed for "./1.pdf" (page=0).
Just download the file and you can duplicate this error.

qpdf. It can inspect a PDF file and report file errors. My guess is that 1,pdf has a non-fatal internal syntax error, ignored some software but not by other software. – rallg Oct 11 '23 at 15:48