How should I crop an image to use in a tikzpicture
?
I declare an image in my header
\pgfdeclareimage{myimage}{image.png}
Then I want to use a cropped version of myimage
in a tikzpicture
\begin{tikzpicture}
[...things being drawn...]
\pgfuseimage{image}
\end{tikzpicture}
Is there an option akin to \includegraphics[trim={0 1cm 0 0}]{image}
?
\node[inner sep=0pt]{\includegraphics[trim={0 1cm 0 0}]{image}};
?