include figure files in latex

Posted by Tim on Stack Overflow See other posts from Stack Overflow or by Tim
Published on 2010-03-20T13:32:49Z Indexed on 2010/03/20 13:41 UTC
Read the original article Hit count: 272

Filed under:
|
|

Hi,

I am trying to include jpeg files in latex

\includegraphics[width=57.6mm, height=43.2mm]{../../results2/html/zerooneloss_stumps.jpg}  

With specified the width and height and compiled with pdflatex, however, it produces the error:

! LaTeX Error: Cannot determine size of graphic in ../../results2/html/zerooneloss_stumps.jpg (no BoundingBox).  

The true size of the image is 576x432 in pixels. Have I specified the size correctly in the latex file?

Anyway to use the default setting without need to specify the width and height? If I don't specify the them in the latex file,

\includegraphics[]{../../results2/html/zerooneloss_stumps.jpg}

I still get the same no BoundingBox error.

Thanks and regards!

© Stack Overflow or respective owner

Related posts about latex

Related posts about pdflatex