A follow up to this answer:
I am clipping a png image to which I want to specify scaled coordinates for the crop command.
So that
\clip (0,0) rectangle + (1,1);
crops nothing, and
\clip (0,0) rectangle + (0.4,0.6);
crops 40% in the x direction and 60% in the y direction.
How can I do it?
MWE
\documentclass{article}
\usepackage{tikz}
\begin{document}
Lorem ipsum
\begin{tikzpicture}
\clip (0,0) rectangle + (1,1);
{\includegraphics[width=\textwidth]{image01.png}};
\end{tikzpicture}
\end{document}
where image01.png is here