I havent read much about how geodata works .. so i cant say anyhting about the it.
but what color are you trying to read from the bmp?
Code:
ch=fin.ReadByte(); // R
fin.ReadByte(); // G skipping
fin.ReadByte(); // B skipping
BMP uses a color sequencing of BGR, not RGB
What is wrong? the comments or the code?