1 / 10

BMP 檔案結構

BMP 檔案結構. 報告者:李銘恭. 檔案結構. 檔頭資訊 (BitMapFileHeader). 影像描述資訊 (BitMapInfoHeader). 調色盤資料 (RGBQuad). 影像資料. 檔頭資訊. 2. 4. 2. 2. 4. BfType. BfSize. BfReserved2. BfReserved1. BfOffBits. 影像描述資訊 (1/2). 4. 2. 2. 4. 4. 4. BiSize. BiWidth. BiHeight. BiPlanes. BiBitCount. BiCompression.

Download Presentation

BMP 檔案結構

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. BMP檔案結構 報告者:李銘恭

  2. 檔案結構 檔頭資訊(BitMapFileHeader) 影像描述資訊(BitMapInfoHeader) 調色盤資料(RGBQuad) 影像資料

  3. 檔頭資訊 2 4 2 2 4 BfType BfSize BfReserved2 BfReserved1 BfOffBits

  4. 影像描述資訊(1/2) 4 2 2 4 4 4 BiSize BiWidth BiHeight BiPlanes BiBitCount BiCompression 4 4 4 4 4 BiClrImportant BiSizeImage BiXPelsPerMeter BiYPelsPerMeter BiClrUsed

  5. 影像描述資訊(2/2) 4、8、16、24、32

  6. 調色盤資料 B G R U

  7. 影像資料 影像儲存格式 影像顯示格式 A0 37 F2 8B 31 C4 A0 37 F2 8B 31 C4 00 00 儲存方式:由左往右,由下往上 黑白 :8 Pixels/Byte 16色 : 2 Pixels/Byte 256色 : 1 Pixel /Byte 全彩 : 1 Pixel/ 3 Bytes

  8. 實例說明(1/3) 影像大小:256*256 解析度: 72 Pixels/Inch

  9. 實例說明(3/3)

More Related