Hola mixba:
Vamos a improvisar...
function ajuste() {
document.images["foto"].width = document.body.offsetWidth + "px";
document.images["foto"].height = document.body.offsetHeight + "px";
}
Luego:
<body onload="ajuste()" style="margin: 0px; overflow: hidden" >
<img src="imagen.gif" name="foto" />
</body>
</html>
Faltaría asignar el dibujo al tag imagen... lo que no sé es si existe la página o hay que generarla...
Saludos