I am trying to put two images side by side in the same beamer. I am trying different solutions and I am focusing on this answer How to align two images side by side and to scale them automatically to use whole slide? given by @Martin Thoma.
I am exactly doing the following
\documentclass{beamer}
\usepackage{graphicx}
\begin{document}
\begin{frame}{Comparison}
\begin{figure}[ht]
\begin{minipage}[b]{0.45\linewidth}
\centering
\includegraphics[width=1.65\textwidth]{example-image-a.png}
\label{fig:a}
\end{minipage}
\hspace{0.5cm}
\begin{minipage}[b]{0.45\linewidth}
\centering
\includegraphics[width=1.55\textwidth]{example-image-b.png}
\label{fig:b}
\end{minipage}
\end{figure}
\end{frame}
\end{document}
However, the picture are still not very well appreciate (a bit small) and they are a bit on the right part of the beamer. I would like to increase a bit the size of the pictures. First, moving them a bit to the left (maybe also a bit upwards) and increase the size. Is it possible to do it?


width=1.55\textwidthsuppose to do here? I would just usewidth=\linewidth, then it adjusts to the size of the minipage. – daleif Apr 21 '22 at 13:25\begin/end{document}is missing) – daleif Apr 21 '22 at 13:27example-image-aand -b as in my answer as they are generally available – David Carlisle Apr 21 '22 at 14:52