\begin{figure}[H]
\begin{tikzpicture}
\includegraphics{lena512.bmp}
\end{tikzpicture}
\end{figure}
文档中插入bmp图,但是在生成的pdf中看不到图。
在使用bmp时必须设置BoundingBox属性
如下即可解决这个问题。
\begin{figure}[H]
\begin{tikzpicture}
\includegraphics[width=\textwidth, bb=0 0 20cm 20cm]{lena512.bmp}
\end{tikzpicture}
\end{figure}