I'd like to fill a page with a picture (to the extent possible while preserving the picture's aspect ratio).
I want the picture to fill the page, extending beyond the margins. (I want non-zero margins in general, on pages that will have text.) The page will only be a screen, not printed paper.
Here's my best attempt; there are several problems:
- the top of the picture is clipped
- there's a little blank space at the bottom
- the whole thing appears on page 2, the first page being skipped
\documentclass{article}
\usepackage{graphicx}
\usepackage[paperwidth=1920bp,paperheight=1080bp,margin=60bp]{geometry}
\newcommand\fillpic[1]{%
\begin{minipage}[t][\textheight][c]{\textwidth}
\vss%
\null\hfill%
\includegraphics*[keepaspectratio=true,%
width=\linewidth,height=\paperheight]{#1}%
\hfill\null%
\vss%
\end{minipage}}
\begin{document}
\fillpic{example-image-a}%
\end{document}

width=\paperwidth,height=\paperheightto includegraphics can accomplish the scaling. Thanks! – dedded Nov 13 '19 at 03:12