Including large images in landscape formatting

  • showframe in document with some page in landscape environment doesn't show correct page borders for landscape pages
  • in landscape page you should for image width use \linewidth since \textwidth is not changed
  • please use just one package for landscape orientation, not both: lscape and pdflscape (both will give in printed document the same result, but on screen pdflcsape rotate landscape page for simpler view of it content)

the following mwe, in which i omit all packages not relevant to your problem.

\documentclass{article}

\usepackage[demo]{graphicx}
\usepackage{pdflscape}

\usepackage{showframe}
\usepackage{lipsum}

\begin{document}
\thispagestyle{empty}
\lipsum[1]
\begin{landscape}
\noindent%
XXX \hfill XXX % for show width of text area
\begin{figure}[htb]
\fbox{
     \includegraphics[width=\dimexpr\linewidth-4\fboxsep-2\fboxrule]{test.png}
     }
\end{figure}
\end{landscape}
\lipsum[2]
\end{document}

gives

enter image description here

addendum: now with caption and example image (instead it you should use your image) and removed stuff which in previous solution show size of text area.

\documentclass{article}
\usepackage{geometry}% added  nut it not influence on solution

\usepackage{graphicx}
\usepackage{pdflscape}

\usepackage{lipsum}

\begin{document}
\thispagestyle{empty}
\lipsum[1]
\begin{landscape}
    \begin{figure}[htb]
\includegraphics[width=\linewidth]{example-image-duck}% example image provided by "graphicx"
\caption{This is some caption text that I'm using to see what this looks like with caption text. I'm not too sure about adding text in the landscape environment, as I use in my real document ... sorry, i can use image provided by you in \texttt{igmur}.}
\label{fig:landscape}
    \end{figure}
\end{landscape}
\lipsum[2]
\end{document}

enter image description here

as you can see,image is centered in text area. since now fbox is removed, the width of image is determined only by \linewidth


Just using landscape works fine ( I did my own version of your image, lol).

This solution ensures that when/if printing the page will be printed as usual and the person reading will have to tilt the book but in digital form the pdf is generated with tilted page.

enter image description here

\documentclass{article}
\usepackage[margin=1.0in]{geometry}
% so that i can crop images
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage{epstopdf}
\usepackage{pdflscape}
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Save the image from this link : https://i.imgur.com/CN1gsF4.png
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Required this package for including graphics and landscaping
% \usepackage[paper=portrait,pagesize]{typearea}
% Link to the stack post
% https://tex.stackexchange.com/a/430619/69118

%%%%%%%%%%%%%%%%
% IMAGE TEST ONE
%%%%%%%%%%%%%%%%
\clearpage
A normal text page
\newpage
\begin{landscape}
\begin{figure}[t]
     \includegraphics[width=\linewidth,]{image.png}
\end{figure}
\end{landscape}
\newpage
A normal text page
\end{document}