Graphics, Figures & TablesEmpty Image insert!

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
diastorio
Posts: 2
Joined: Wed Oct 28, 2009 10:51 am

Empty Image insert!

Post by diastorio »

Hi List,

I am new to Latex. I tried to insert an image in my document using the following statement;

Code: Select all

\documentclass[11pt,a4paper,oneside, draft]{report}
\usepackage[latin1]{inputenc}
\usepackage{color}
\usepackage{graphicx}
\begin{document}
\begin{center}
\includegraphics[width=10cm]{encaps} 
\end{center}
\end{document}
When i build and view the file using pdfLatex (no errors or warning), the image was empty. It just show an empty box with the name of the image file (encaps.png)in the corner of the box. I tried with .jpeg and it still does not work. What happened; I am using TexnicCenter in Windows.

Thanks
-ddt

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Empty Image insert!

Post by localghost »

Just remove the draft option from the option list for the document class.


Best regards and welcome to the board
Thorsten¹
diastorio
Posts: 2
Joined: Wed Oct 28, 2009 10:51 am

Re: Empty Image insert!

Post by diastorio »

Hi Thorsten,

It Works!! Thanks a lot

Best regards,

-ddt
Post Reply