Consider this code
\documentclass{report}
\usepackage{graphicx}
\begin{document}
\begin{figure}[htp]
\includegraphics[width=0.4\textwidth]{imageA.png}
%\includegraphics[width=0.4\textwidth]{imageB.png}
\end{figure}
\end{document}
Compilation works fine with pdflatex. With xelatex however imageA.png is displayed blank while imageB.png appears normally.
I don't see any warnings what might be wrong with imageA.png nor anything specific in the .log files. Nor do I see any warnings referred to in Why can't XeTeX handle this dank meme?
Any clues?


xelatex figcheck.tex --nopdfbut cannot find any xdv file – Viesturs Jan 29 '19 at 11:29xelatex --no-pdf figcheck.tex– Ulrike Fischer Jan 29 '19 at 11:30figcheck.xdv -> figcheck.pdf [1] 50837 bytes writtenbutthere are no warnings. – Viesturs Jan 29 '19 at 11:33xdvipdfmx -vv figcheck.xdv– Ulrike Fischer Jan 29 '19 at 11:38xdvipdfmx -vv figcheck.xdvforimageAandimageB– Viesturs Jan 29 '19 at 11:44imageA. As a last resort I would import it in Gimp and re-export it. – AlexG Jan 29 '19 at 12:29