国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 網絡通信 > 正文

RFC797 - Format for Bitmap files

2019-11-04 11:38:09
字體:
來源:轉載
供稿:網友

  Network Working Group A. Katz
Request for Comments: 797 ISI
September 1981

FORMAT FOR BITMAP FILES

This note describes a PRoposed format for storing simple bitmaps (one
bit per pixel) in a file. These files may be very large and the
intent is to use this format for short term storage and passing data
between closely coupled programs. The data in the file should be
stored in 8-bit bytes (octets). Bitmaps may be any size.

The first 4 octets of the file gives the width of each line (x
direction), and the next 4 octets should give the number of lines of
the display (length, y direction). After this is one octet for the x
increment and one octet for the y increment. Following these 10
octets is the bitmap itself. The length and width fields are
stored most significant octet first.

The x and y increment octets tell how mUCh space is between pixels.
For an ordinary display, both these would be one.

Each line of the display should be scanned from left to right. The
lines should start at the top and work down. Each line in the bitmap
should end on an octet boundary. If the width of the display is not
divisable by 8, the rest of the last octet should be filled with
zeros on the right.

Below is a representation of a bitmap file (each square is one
octet):

----------------------------------------------------------
1 2 3 4 5
width width width width length
----------------------------------------------------------

----------------------------------------------------------
6 7 8 9 10
length length length x-incrementy-increment
----------------------------------------------------------

----------------------------------------------------------
11 12 13 14 15
data data data data data...
----------------------------------------------------------

For example, bitmaps from the RAPICOM 450 can be in Fine Detail,
Quality, or EXPress Mode. In Fine Detail mode the x-increment and
y-increment would be 1, for Quality mode, the x-increment would be 1
and the y-increment would be 2, and for Express mode, the x-increment

Alan R. Katz [page 1]

would be 1 and the y-increment would be 3. For these bitmaps it is
intended that each scan line be repeated y-increment times when they
are displayed.

[page 2] Alan R. Katz

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 文昌市| 大姚县| 沁源县| 图木舒克市| 桦南县| 平度市| 波密县| 河北区| 呼伦贝尔市| 湘潭县| 双鸭山市| 东辽县| 巴彦县| 叙永县| 大冶市| 余干县| 晋中市| 峨眉山市| 云安县| 滁州市| 保定市| 竹山县| 绿春县| 博兴县| 巴里| 正定县| 荔波县| 扎兰屯市| 永平县| 汉沽区| 临漳县| 额尔古纳市| 金阳县| 临漳县| 连南| 巴楚县| 科尔| 淮滨县| 内乡县| 牙克石市| 渭南市|