Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I tried to load an .eps picture, but an error occured, 'errorUnknown graphics extension: .eps.'. Please help me!

share|improve this question
Does it complain about .eps or about .eps. ? –  Taco Hoekwater Aug 3 '11 at 18:28

3 Answers 3

up vote 9 down vote accepted

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.

share|improve this answer
see also tex.stackexchange.com/questions/1072/… –  Caramdir Aug 3 '11 at 18:19

if you have more than one dot in your graphic file name then use

share|improve this answer
My error message says, "! LaTeX Error: Unknown graphics extension: .eps." I added what you said but It doesn't help. It gives me the same error. –  kami Sep 23 '11 at 23:07
There is a trailing dot at the end .end. Remove it from your graphic file name. It looks like that you have a file name like myimage.eps. –  Herbert Sep 24 '11 at 11:30

hi kimi add following code line to your code the problem be solved:

share|improve this answer
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. –  Pier Paolo Nov 23 at 21:50
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. –  tohecz Nov 23 at 21:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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