I have trouble with EPS figure when compiling with pdflatex. I have compiled the following TeX code with pdflatex.
\documentclass{book}
\usepackage{graphicx}
\begin{document}
\begin{figure}
\begin{center}
\includegraphics[height=3 cm,width=4 cm,angle=0]{fig1.jpg}
\caption{Flower}
\end{center}
\label{fig2}
\end{figure}
\end{document}
It is OK, there is no problem. But when I am using EPS image extension and compiling pdflatex, shows an error : 'unknown file extension .eps'. Now my question is : How can I compile TeX file containing EPS image extension with pdflatex?