Get Bitmap Infos

Hello!
I have a few problems to get the bitmap informations. I want to get the Resolution the colordepth ... but i have no idea who to realize this. I am going to find out which informations of the bitmap file are needed to get the first pixelline of the bitmap.
Thanks in advance
[293 byte] By [kakalake] at [2007-11-17 14:28:42]