# Picture not found in moderncv class

I try to compile the following simple template with pdflatex:

\documentclass[11pt,a4paper]{moderncv}
\moderncvtheme[red]{casual}

\title{your Curriculum Vitae title}
\firstname{Name}
\familyname{Lastname}
\mobile{Mobile}
\phone{Phone}
\email{Email}
\homepage{Homepage}
\extrainfo{Extra Info}
\photo[64pt]{picture}
\quote{Subtitle}

\begin{document}
\maketitle

\section{Section Name}
\cvline{Subject}{Description.}
\cventry{Time}{Position}{Company Name}{City}{Country}{Description}
\cvcomputer{Skill}{Description}{Skill}{Description}
\cvlanguage{Language}{Proficiency}{Description}

\end{document}


However I always get the following error message: ! LaTeX Error: File picture' not found. I have a file picture.eps as well as a file picture in the same directory, so not sure why I get this error message. Anyone an idea what could be going wrong?

Thanks!

-

## migrated from stackoverflow.comMay 29 '12 at 13:41

This question came from our site for professional and enthusiast programmers.

If you are processing with pdflatex you should convert picture.eps into picture.pdf. There are many tools for doing it. –  egreg May 29 '12 at 13:44
Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. –  Werner May 29 '12 at 14:11

The compilation depends on your LaTeX Distribution. First of all the package epstopdf is the main key. It allows the including of encapsulated postscript (eps) by running pdflatex.
pdf(LA)TEX now automatically converts a requested Encapsulated PostScript (EPS) file to PDF, via the epstopdf package, when and if the LATEX graphics.cfg configuration file is loaded, and PDF is being output. The default options are intended to eliminate any chance of hand-created PDF files being overwritten, but you can also prevent epstopdf from being loaded at all by putting \newcommand{\DoNotLoadEpstopdf}{} (or \def...) before the \documentclass declaration. It is also not loaded if the pst-pdf package is used. For more details, see the epstopdf` package documentation.