I tried to load an .eps picture, but an error occured,

errorUnknown graphics extension: .eps.

  • 8
    Does it complain about .eps or about .eps. ? Aug 3, 2011 at 18:28

1 Answer 1


You are probably compiling your TEX document using pdftex (or pdflatex) while including an EPS image. This will not work. You need to convert the EPS to PDF (using something like the epstopdf package), or Distiller from Adobe Acrobat.

For more information on this type of problem, read the this UK TeX FAQ entry.

Alternatively, you may switch the compiler from pdftex to latex, which accepts EPS graphic format.

The best way around this is to never specify the graphic extension in your \includegraphics{...} command, but have both EPS and PDF versions of the file available. That will ensure that the correct type is used during compilation, as the driver will make the appropriate selection.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.