# “No BoundingBox” error in latex [closed]

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?

-

## 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.

Are you compiling with latex.exe? If so, please switch to pdflatex.exe as you are importing PNG file. – kiss my armpit 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
Make sure the quick compilation uses pdflatex.exe. – kiss my armpit 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
The "No bounding box" usually means LaTeX can't get the figure (not there, format unsupported). – vonbrand Feb 10 '13 at 19:49
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.9228186011314392, "perplexity": 3870.6114567241348}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2016-07/segments/1454701168065.93/warc/CC-MAIN-20160205193928-00040-ip-10-236-182-209.ec2.internal.warc.gz"}