I want to insert an image at the bottom of a page, using the full \paperwidth. I found the textblock environment from the textpos package and defined a command in this way:
\newcommand*{\grafikunten}[1]{
\begin{textblock*}{\paperwidth}(0mm, 80mm)
\includegraphics[width=\paperwidth, keepaspectratio]{#1}
\end{textblock*}
}
This is working so far, assuming that the vertical starting position of the picture is always "80mm", which of course is not. It depends on the height of the image.
How can I get the height of the image to calculate the exact vertical position?
Or is there another way to position images at the bottom of a page, or at every other side, even in a corner?


eso-pic– egreg Jun 16 '14 at 18:02