graphicx:

\includegraphics[width=\linewidth,height=\textheight,keepaspectratio]{picture.png}

Source: Best figure size adjustment when dealing with different image sizes