I want to include only parts of an image.
For this, I use the viewport option of graphicx's includegraphics.
To find the coordinates, I go by trial and error, adapting the viewport argument until I have it right. This is inefficient.
\documentclass{standalone}
\usepackage{graphicx}
\begin{document}%
\includegraphics[viewport=0 0 10 10,clip]{image}
\end{document}
Is there some way I can easily obtain/draw a grid to efficiently select the coordinates to pass to viewport?
For example, when I want to draw on an image using tikz, I draw helplines
according to this post.
In this case, I don't want to draw at all; I just want to include a specified part of the image only.


