TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can't include bitmaps with pdflatex. Here is my mwe:

\addto\extrasturkish{\uccode`i=\string"9D \lccode`I=\string"19 }
\addto\noextrasturkish{\uccode`i=`I \lccode`I=`i }




Gives the error Unknown graphics extension: .bmp.

share|improve this question
pdftex can include only PNG, JPEG, JBIG2 and PDF graphic files. Convert the BMP to PNG. – egreg Dec 16 '12 at 23:11
up vote 7 down vote accepted

As egreg has pointed out, It is preferable to have .pdf, .png or even .eps (with under the shell conversion to pdf) figure formats for pdflatex . Convert is command line script from ImageMagick. You can install it on any platform. Type in the command line prompt convert 000.bmp 000.png .

A decent documentation of graphics in LaTeX is always handy.

share|improve this answer

According to Heiko Oberdiek’s answer to Graphics file extensions and their order of inclusion when not specified another solution without image conversion consists in either producing a DVI file, then (a) converting this with dvips to PS, what then with ps2pdf can further converted to PDF or (b) directly converting the DVI to PDF with dvipdfmx (note the x, it’s important here) – (a)/(b) are in most TeX editors reachable with one mouse click/key stroke –, or using Xe(La)TeX.

If you take a deeper look on Heiko’s answer: There are obviously even some other possibilities with more rarely used TeX drivers.

share|improve this answer

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.