Sets the page geometry of the image.