怎么根据bmWidth算出来,我测试了一下,好像他都时bmWidth
的四倍,是不是直接用bmWidth乘以四啊?什么意思来得?
谢拉!!!

解决方案 »

  1.   

    bmWidthBytesSpecifies the number of bytes in each raster line. This value must be an even number since the graphics device interface (GDI) assumes that the bit values of a bitmap form an array of integer (2-byte) values. In other words, bmWidthBytes * 8 must be the next multiple of 16 greater than or equal to the value obtained when the bmWidth member is multiplied by the bmBitsPixel member. 
      

  2.   

    这个我看了,但是不是很明白,英语太差了
    能否解析一下后面那句
    In other words, bmWidthBytes * 8 must be the next multiple of 16 greater than or equal to the value obtained when the bmWidth member is multiplied by the bmBitsPixel member. 
    还有他怎么根据bmWidth算出来??