Quote Originally Posted by Hack
Indeed.

You solve the problem by going back to useing a picture control.
i use picture box to load different picture each time.the picture size is not same. so, when i load a picture that the size is smaller or bigger than the picture box.
the data use to represent each pixel in picture is false because the scale that i set use code in #1(above) is fixed to the picture box size, not the picture size which i loaded.