I am trying to include jpeg files in latex
\includegraphics[width=57.6mm, height=43.2mm]{../../results2/html/zerooneloss_stumps.jpg}
Given a width and height and compiled with pdflatex, it causes an error:
! LaTeX Error: Cannot determine size of graphic in ../../results2/html/zerooneloss_stumps.jpg (no BoundingBox).
The true size of the image is 576x432 pixels. Did I set the size in the latex file correctly?
In any case, to use the default setting, without having to specify the width and height? If I do not specify them in the latex file,
\includegraphics[]{../../results2/html/zerooneloss_stumps.jpg}
I still get the same BoundingBox error.
Thank you and welcome!
Change
\includegraphics[]{../../results2/html/zerooneloss_stumps.jpg}
to
\includegraphics{../../results2/html/zerooneloss_stumps.jpg}
BoundingBox error still missing.
I use
\usepackage[dvips]{graphicx}
What is the difference between him and
\usepackage{graphicx}
It seems that with the former, eps shape files can work, but jpeg files cannot, and everything becomes inverse?
Can I include both eps and jpg shape files in the same latex file?