Take the 2-minute tour ×
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.

This is my preamble

\documentclass[12pt,a4paper,twoside,french]{article}
\usepackage{mathptmx} \usepackage{amsmath} \usepackage{amsfonts}
\usepackage{amssymb} \usepackage{graphicx}
\usepackage[left=3.17cm,right=3.17cm,top=2.54cm,bottom=2.54cm]{geometry}
\usepackage{tabularx} \usepackage{caption}

This is how the image is inserted in the document

\begin{figure}
\center
\includegraphics[scale=1]{figures/liver-foci-bioassay-01.png} 
\caption{Protocole expérimental pour l'essai décrit par pour l'étude
de la carcinogénicité du foie à moyen-terme \citep{Ito:1995vn}} 
\label{fig:ito1} \end{figure}

This error appears every time I try to compile in Latex

! LaTeX Error: Cannot determine size of graphic in figures/liver-foci-bioassay- 01.png (no BoundingBox). See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help.

How can I solve this problem?

share|improve this question

closed as too localized by lockstep, Stefan Kottwitz Apr 10 '13 at 10:41

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Are you compiling with latex.exe? If so, please switch to pdflatex.exe as you are importing PNG file. –  cyanide-based food Feb 10 '13 at 18:16
    
Well, I am using TexMaker and I usually compile with a "quick compilation" option. However when I add citations I have to compile in latex and I get this error. Though, it doesn't seem to change anything in the document. –  esmitex Feb 10 '13 at 18:22
3  
Make sure the quick compilation uses pdflatex.exe. –  cyanide-based food Feb 10 '13 at 18:24
    
I have just tried with pdflatex I don't see the error. I thought it was something really important but apparently it's not. Thank you for the advice. –  esmitex Feb 10 '13 at 18:31
4  
The "No bounding box" usually means LaTeX can't get the figure (not there, format unsupported). –  vonbrand Feb 10 '13 at 19:49