I have already read some forum posts about using Png files in latex documents. Mostly, the answer was, that this is not possible if you do not use PdfTex.
But I want to compile my latex code to dvi and use png images. Therefore, I generated a .bb file (with bmeps), which contains information about the bounding box. Interestinly, the following latex source compiles and produces a dvi file which is correctly displayed (including the image) in my dvi viewer.
Code: Select all
\documentclass[12pt]{article}
\usepackage{graphicx}
\begin{document}
\section*{Test}
\begin{figure}[h!t]
\centerline{
\includegraphics[width=8.1cm]{figures/test.png}
}
\caption{Test image.}
\end{figure}
\end{document}
This tex source compiles on exactly 2 computers. On all other computers (I have tried 4), I get the error message:
"Cannot determine size of graphic in figures/test.png (no BoundingBox)."
In principle, it should be possible to use pngs in latex, since it works on 2 machines. All machinges are using the same Miktex version (for windows) and TexnicCenter. I have not changed any packages by hand, I just used the standard Miktex installation.
What is your experience? Is it possible to use Pngs in Latex? Do I have to change any settings?
Is this tex source working on your machinges?
Thanks for answers.