I'm using the graphicx package to include pictures into a slide presentation.
The following works fine:
Code: Select all
\includegraphics[width=\textwidth,height=.75\textheight,keepaspectratio]{figure.png}
What I would like to do, though, is to use the above call within a
{minipage}
environment, and I would like to adjust the width of the {minipage}
relative to the width of the scaled image.So, is there a way of determining the width a picture will have, prior to actually including it, so that I can create the
{minipage}
?Many thanks in advance,
/Johan