0

Possible Duplicate:
MikTex error for PNG images when trying to produce DVI

I have the following line in my tex file:

  \includegraphics[width=1.0\textwidth]{pic.png}

There is no error with pdflatex, but When I try to build it by latex command I get this error:

Cannot determine size of graphic pic.png (no Bounding box).

How can I fix this error?

Update:

I could fix(?) it by inserting two more values(natwidth and natheight) to `includegraphics'. Now I can build my file, however I'm not sure that it is the right way to do it.

0 Answers0