S
steve
I am reading in a bitmap file using the microsoft bmp classes and most
all of the files are as follows
Width :640:
Height :480:
Bits :8:
Upside Down :1:
Core :0:
Palette Size :256:
Compression :0:
and are indexed images. Using fread and fseek to pull off the header
and start reading at the first pixel. When I get the indexed pixel
values and compare them to values in Photoshop they do not match. I
have read that bitmaps are "upside down". Do I need to flip things
around? I am assuming the header is 1077 bytes (0x0 through 0x436).
Thanks
all of the files are as follows
Width :640:
Height :480:
Bits :8:
Upside Down :1:
Core :0:
Palette Size :256:
Compression :0:
and are indexed images. Using fread and fseek to pull off the header
and start reading at the first pixel. When I get the indexed pixel
values and compare them to values in Photoshop they do not match. I
have read that bitmaps are "upside down". Do I need to flip things
around? I am assuming the header is 1077 bytes (0x0 through 0x436).
Thanks