I need to create certificates in pdf. I have an image, where the text must be put to the appropriate place. I managed to set the correct pdf page size and all margins, except the top:
\documentclass{standalone}
\usepackage[paperwidth=1055px,paperheight=700px]{geometry}
\usepackage{graphicx}
\setlength{\oddsidemargin}{0px}
\begin{document}
\includegraphics{bg.png}
\end{document}
But there is little top margin, that shifts the image out of the page.

How can I set the picture as the background of this page? And remove the margin?
Then I'll use tikz to position the text.

margin=0ptamong the option togeometryhelp? I would never usepxas unit: usebpif you know the precise dimensions of the image in Postscript points (72bp=1in). – egreg Apr 11 '13 at 21:24