不是文件图片   就是临时截屏保存的 CImage 或 CBitmap中  图片的字节数  

解决方案 »

  1.   

    CBitmap::GetBitmap 可以获取 BITMAP
    typedef struct tagBITMAP {  /* bm */
       int bmType;
       int bmWidth;
       int bmHeight;
       int bmWidthBytes;
       BYTE bmPlanes;
       BYTE bmBitsPixel;
       LPVOID bmBits;
    } BITMAP;长*宽*色深 自己算一下不就知道了
      

  2.   

    我一般是这么用的:
    CxImage image;  
    image.GetWidth(); //宽度
    image.GetHeight(); //高度
    image.GetSize(); //大小
      

  3.   

    CBitmap cbmp;
    BITMAP bmp;
    cbmp.GetBitmap(&bmp);
    bmp.后面就有了