Posted on 1998-11-10
I have written a function to read the data contained in 24bit bmp files, using visual basic 5.0 Professional. However when I use the RGB function in conjunction with PSet function, to display the colour to the screen, the colour displayed does not match that of the actual image.
(1) How do I get the two colors to match ?
(2) When I display the image it appears distorted, ie shifted diagonally to the right. How do I scale the points so that the image does not appear distorted ?