I need help importing images into LaTeX.

Apr 2013
68
16
Green Bay
I created two images saved from Paint under .jpeg. Now, I would like to import them into my LaTeX document. I've tried the following

\documentclass{article}
\usepackage[pdftex]{graphicx}
\begin{document}
\includegraphics{Graph 1.jpeg}
\end{document}

and I recieved an error. Do I need to save my image in a special folder? I have two images Graph 1 and Graph 2. Please help. Thanks.
 

Prove It

MHF Helper
Aug 2008
12,897
5,001
Are your pictures in the same folder as this TEX file on your computer?
 

emakarov

MHF Hall of Honor
Oct 2009
5,577
2,017
Try removing the space from the file name. Also, make sure you compile your LaTeX file with pdflatex and not latex because the latter can include only EPS graphics, as far as I know.