I was able to display my pictures, on 300 X 300 window size. if I increase the window size 600 X600 I see the picture duplicate? Does any one know?
Also, is it possible to assign different color to pixels? for example, my picture is 80x80 graylevel image, and I want pixel at location(40,40), image[40][40], to be red?
I appreciate the help

Well, a short description on how you display the image might help a bit here, do you update the viewport when the window size changes and so on…