The image (the world-window) is 1000 pixels wide and 771 pixels high, and the viewport is half that size, 500 pixels wide and 386 pixels high.