How to read from .bmp file and compare pixels

hi All!
Please help. I need to know very urgently how to read and compare pixels from an existing bitmap file. Please Please help!!
Thank you!!

You might wanna do the nehe tutorials
http://nehe.gamedev.net

There are good tutorials about all stuff of opengl, including Texture Mapping, with different filters…

Cya

Jan