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.

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

When I include graphics in my document, the colors are always converted to grayscale, which is very unfortunate as I depend on the colors in the images.

I use LaTeX => PS => PDF for creating my document. Here is a MWE:



    \includegraphics[bb=0 0 966 503,scale=0.4]{images/highlight}
    \caption{Hervorgehobenes Bauteil}


The following image is the result.

enter image description here

share|improve this question
Works for me with latex + dvipdfm and with pdflatex (after removing the bb option). I have no idea with editor/IDE you use and which commands it executes for LaTeX => PS => PDF. You could try to remove the PNG to EPS manually or simply use pdflatex (most likely called LaTeX => PDF for you). – Martin Scharrer May 31 '11 at 8:15
up vote 6 down vote accepted

I recommend using pdfLaTeX, which directly supports PNG image format. This means directly compiling to PDF, instead of using DVI and PS as intermediate format.

If you also need (E)PS images, you can use the epstopdf LaTeX package or the program with the same name and include them as PDF files.

share|improve this answer
That worked nicely. I just included epstopdf, deleted the bb-attributes and everything works. Thanks a bunch! – Florian Peschka May 31 '11 at 8:33

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.