CImage tmpImage = pDoc->m_imageArray[0];

int w = tmpImage.GetWidth();
int h = tmpImage.GetHeight();
int Bpp = tmpImage.GetBPP();

BITMAPINFOHEADER bmInfohdr;
...