Tikz Innerspace=0
\documentclass{article}
\usepackage{graphicx} % to include images
\usepackage{tikz} % TikZ for drawing
\begin{document}
% One straightforward way to place an image inside a tikzpicture is to use node with the includegraphics command:
\fbox{
\begin{tikzpicture}
\node[anchor=south west, inner sep=0 cm] (img) at (0,0) {\includegraphics[width=10cm]{example-image.png}};
\end{tikzpicture}
}
\end{document}
Inner space `inner sep` vaut zéro, je ne comprend pas pourquoi il reste un espace autour de l'image. Pour moi fbox `\fbox` délimite la figure tikz qui ne contient que le noeud nœud contenant l'image et inner box indique qu'il n'y a pas d'espace intérieur entre le bord du noeud nœud et son contenu l'image. Ou Où ai-je faux ?