# [Tex/LaTex] Error ‘No bounding’ box for PDF image

bounding boxgraphicshyperref

I have a LaTeX file which includes a PDF image file as follows

\begin{figure}[t]
\includegraphics[width=0.4\textwidth]{chapter1/figure/image.pdf}
\caption{...}
\label{aa:b}
\end{figure}


I can compile this without any problems using pdflatex. But when I include the package hyperref and a bunch of other packages, it gives me the following error:

File 'chapter1/figure/image.bb' not found. ...dth]{chapter1/figure/image.pdf}
Cannot determine the size of graphic in chapter1/figure/image.bb (no BoundingBox). ...dth]{chapter1/figure/image.pdf}


You are most likely calling graphicx with a specific driver option not compatible with the compiler/graphics format. For example

\usepackage[dvipdfm]{graphicx}% http://ctan.org/pkg/graphicx


Remove this option and let graphicx do its own thing of figuring out the required graphics driver.

Alternatively, if all else fails, you could also try supplying the correct bounding box as option:

\includegraphics[bb=llx lly urx ury]{image}


where llx lly urx ury denotes the lower-left (x,y) and upper-right (x,y) coordinate of the image in bps (big points).