I have to insert a graphic into the whole page with tikz. The graphic has the same size as the final document. I use tikz because I have to insert some drawing and some text into the graphic. My problem now is, that some margin is inserted to. How to avoid this margin?
\documentclass{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage[
total={512pt,512pt},
papersize={512pt,512pt}]{geometry}
\usepackage{tikz}
\usepackage{mwe}
\pagestyle{empty}
\setlength{\parindent}{0cm}
\begin{document}
\begin{tikzpicture}
\node (0,0) {\includegraphics[width=512pt,height=512pt]{example-image-a}};
\end{tikzpicture}
\end{document}
My problem is that the image doesn't fit. The warning says overfull hbox and I get an empty first page.