what is the difference between bisizeimage , bisize and bfsize?

后端 未结 4 2100
我寻月下人不归
我寻月下人不归 2021-02-15 11:36

i\'m new to this field ,and i get confused between some terms!

bisizeimage, bisize and bfsize!

please i need a s

4条回答
  •  醉话见心
    2021-02-15 12:05

    bfSize = biSizeImage + sizeof(BITMAPFILEHEADER) + sizeof(BITMAPINFOHEADER)
    bfSize = biSizeImage + 54               
    
    // since BITMAPFILEHEADER = 40 and BITMAPINFOHEADER = 14 
    
    biSizeImage = (biWidth * sizeof(RGBTRIPLE) + padding) * abs(biHeight) 
    

提交回复
热议问题