\documentclass{article}
\usepackage{graphicx}
\usepackage{fancybox}
\graphicspath{ {d:/pics/} }
\begin{document}
\begin{figure}
\fbox{\centerline{\includegraphics[scale=0.25]{example-image-a}}}
\caption{Picture 1}
\vspace{1in}
\shadowbox{\centerline{\includegraphics[scale=0.25]{example-image-a}}}
\caption{Picture 2}
\end{figure}
\end{document}
I'm trying to wrap the picture with a box. I want to know how to change the size of the box itself.