[Tex/LaTex] Scaling images to fit in a frame

beamergraphics

I am trying to insert two images in a frame in beamer. The second image that I wish to add isn't fitting in the frame. Changing the scalevalue in \includegraphics[scale=0.0005]{image/image.png}doesn't fit the image in the frame. Any help would be appreciatedFirst imageSecond image.

\documentclass[xcolor={table,dvipsnames,usenames}]{beamer}
\graphicspath{ {image/} }
\definecolor{Gray}{gray}{0.85}
\definecolor{LightCyan}{rgb}{0.88,1,1}
\newcolumntype{a}{>{\columncolor{NavyBlue}}c}
\newcolumntype{b}{>{\columncolor{white}}c}
\begin{document}
\begin{frame}{}
\begin{columns}
\column{1\textwidth}
\begin{figure}
\includegraphics[scale=0.6]{image/rabbit.png}
\caption{Steps }
\end{figure}
\column{0.5\textwidth}
\begin{figure}
\includegraphics[scale=0.0005]{image/image.png}

\end{figure}
\end{columns}
\end{frame}
\end{document}

Edit: After updating the code

\documentclass[xcolor={table,dvipsnames,usenames}]{beamer}
\graphicspath{ {image/} }
\definecolor{Gray}{gray}{0.85}
\definecolor{LightCyan}{rgb}{0.88,1,1}
\newcolumntype{a}{>{\columncolor{NavyBlue}}c}
\newcolumntype{b}{>{\columncolor{white}}c}
\begin{document}
\begin{frame}{}
\begin{columns}
\column{.8\textwidth}% half of the width
\begin{figure}
\includegraphics[width=\textwidth]{image/rabbit.png}
\caption{Steps }
\end{figure}
\column{0.2\textwidth}% half of the width
\begin{figure}
\includegraphics[height=\textheight]{image/image.png}
\end{figure}
\end{columns}
\end{frame}
\end{document}

enter image description here

Best Answer

The first column is the width of the page, you must put it to its half \column{.5\textwidth} instead of \column{1\textwidth}

Instead of using \includegraphics[scale=0.0005] use \includegraphics[height=\textheight] or \includegraphics[width=\textwidth]

\documentclass[xcolor={table,dvipsnames,usenames}]{beamer}
\graphicspath{ {image/} }
\definecolor{Gray}{gray}{0.85}
\definecolor{LightCyan}{rgb}{0.88,1,1}
\newcolumntype{a}{>{\columncolor{NavyBlue}}c}
\newcolumntype{b}{>{\columncolor{white}}c}
\begin{document}
\begin{frame}{}
\begin{columns}
\column{.5\textwidth}% half of the width
\begin{figure}
\includegraphics[scale=0.6]{image/rabbit.png}
\caption{Steps }
\end{figure}
\column{0.5\textwidth}% half of the width
\begin{figure}
\includegraphics[height=\textheight]{image/image.png}

\end{figure}
\end{columns}
\end{frame}
\end{document}
Related Question