
resizing image limitations
I'm attempting to make a VB6 program to analyze photographs for my
graduate research work (i'm an ecologist not a computer programmer).
I'm starting by making a picture viewer with various features. My
problem is that I can only enlarge an image (zoom in) to a certain
point then the image can't be properly displayed. I'm adjusting the
size of the image object and using the stretch feature to enlarge the
image (the image is a child of a picture box). I've also attempted this
with a child picturebox using the paintpicture feature only to have the
same result. With my computer set to 32bit color, I can't display an
image that is sized wider than 2040 pixels. When I set the computer to
16bit color I can enlarge the picture by a factor 2x as large before the
image can't be displayed properly. The jpegs that I'm working with can
be 1600x1200 or 400x300 and I have the same result. I'm probably trying
to go about this in the wrong way. Do I need to use more complicated
features of VB? Could anybody help me past this road block?
Thanks!
Chris