[問題] 關於計程的作業附的網站
請問一下:
這次作業附的網站有一個表格
Offset # Size Purpose
14 4 the size of this header (40 bytes)
18 4 the bitmap width in pixels (signed integer).
22 4 the bitmap height in pixels (signed integer).
26 2 the number of color planes being used. Must be set to 1.
28 2 the number of bits per pixel, which is the color depth of the image.
Typical values are 1, 4, 8, 16, 24 and 32.
30 4 the compression method being used. See the next table for a list of
possible values.
34 4 the image size. This is the size of the raw bitmap data (see below), and
should not be confused with the file size.
38 4 the horizontal resolution of the image. (pixel per meter, signed
integer)
42 4 the vertical resolution of the image. (pixel per meter, signed integer)
46 4 the number of colors in the color palette, or 0 to default to 2n.
50 4 the number of important colors used, or 0 when every color is important;
generally ignored.
~~取自http://en.wikipedia.org/wiki/BMP_file_format
Offset的意思是什麼?助教說標頭檔有14byte,這跟Offset有關嗎?他後面又標(40 bytes)
怎麼會這樣?
麻煩解答一下 謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.241.187
推
12/06 18:48, , 1F
12/06 18:48, 1F
→
12/06 18:50, , 2F
12/06 18:50, 2F
→
12/06 18:51, , 3F
12/06 18:51, 3F
→
12/06 18:52, , 4F
12/06 18:52, 4F
→
12/06 19:04, , 5F
12/06 19:04, 5F
→
12/06 19:27, , 6F
12/06 19:27, 6F