I am currently working with Texmaker trying to add a png that is 2000x1800 px in size as an entire page into my document, which has an A4 format set. I do not want to have a margin on any pageside for the picture page (since i do not wish to print my document).
In other words i want my picture to cover an entire page which also has a custom size without affecting the other, usual A4 pages of the document.
Compilation up until now was done with PDFLatex.
The closest solution to my desired result was achieved by resizing the pdfwidth and height at the corresponding place and using incgraph to get the entire custom page to portray the picture:
\eject \pdfpagewidth=20in \pdfpageheight=18in
followed up by \incgraph[ overlay={\node[red] at (page.center) {\Huge};} ]{The Mentioned 2000x1800picture.png} However every following page is hence also gigantic though only displaying text.
Trying to resize it to A4 by using \eject \pdfpagewidth=8.27in \pdfpageheight=11.69in resizes every single page (even the picture page) to A4.
Is there a way to resize the FOLLOWING pages to A4 again or ist the entire approach "wrong"? If so is there another way to create a custom page mid document which marginlessly displays one huge picture and does not affect the rest of the document at all?
Thank you for every answer!

