Graphics, Figures & TablesPNG Images appear colourless in Document

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Deyan
Posts: 1
Joined: Fri Feb 17, 2012 11:58 am

PNG Images appear colourless in Document

Post by Deyan »

Hello,

I've got the following issue - when I compile my document, the images which I've put in it are colourless, although they have colour in fact. The problem is with PS and PDF, while DVI is alright, however there is no way to print DVI on the computer where the printer is. How can I fix this, i.e. make the images appear coloured?

I use TeXnicCenter for writing and compiling the code and MikTeX.


Thanks in advance,
Deyan

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: PNG Images appear colourless in Document

Post by kaiserkarl13 »

You're fortunate that PNG images appear at all when using LaTeX (output to DVI); TeX (and LaTeX) require Postscript images (.ps or .eps), and you usually cannot include PNG or JPEG at all. In fact, I'm very surprised that you didn't get an error message when trying to include PNG in a TeX file that outputs to DVI.

You should use PDFLaTeX, which accepts PDF, PNG, and JPEG (possibly one other that I'm forgetting) images. PDFLaTeX works the same way as standard LaTeX, but generates PDF output instead of DVI.
PabloP
Posts: 1
Joined: Wed Apr 18, 2012 2:43 pm

Re: PNG Images appear colourless in Document

Post by PabloP »

Hi Deyan

I had the same problem. dvipdfm worked for me.
Post Reply