I am guessing that your display size is 1024 pixels wide. The WindDraw routine automatically limits the size of the window to the size of the display. The entire image is actually there. If you turn on scrollbars, you can see the rest of the image. I have created and displayed much larger images, so you are not hitting a hard limit.
Bruce
Bruce Ammons
Ammons Engineering