title: Includegraphics problems with a PNG
body: <p>I have problems to insert an image into my .tex file. This is the code:</p>
  
  <pre><code>\begin{figure}
   \includegraphics[width=1\textwidth]{Blockdiagram}
    \caption{Diagram}
    \label{figure:BlockDiagram}
  \end{figure}
  </code></pre>
  
  <p>It says that it cannot find the file! The same with <code>Blockdiagram.png</code>.</p>
  
  <p>The figure is in the same folder. The main <code>.tex</code> is outside this folder, and I tried copying the image there, but the problem persists.</p>
  
  <p>If I type H for help I have:</p>
  
  <pre><code>I could not locate the file with any of these extensions: .eps, .ps....
  </code></pre>
  
  <p>It's a png! In the file I have both:</p>
  
  <pre><code>\usepackage{graphicx}
  \usepackage{epsfig}
  </code></pre>
  
  <p>And I tried commenting epsfig.... but nothing happens. Same error.</p>
  
  <p>Any ideas?</p>
  
  <p><strong>EDIT</strong>: I have several PNG files, is it possible to use PNG files? I am using LEd under WinXP.</p>