RFC797 bitmap file format

xiaoxiao2021-03-06  107

Organization: China Interactive Publishing Network (http://www.china-pub.com/)

RFC Document Chinese Translation Program (http://www.china-pub.com/compters/emook/aboutemook.htm)

E-mail: Ouyang@china-pub.com

Translator: Guodagang Guodagang@163.net)

Translation time: 2002-1-9

Copyright: This Chinese translation copyright belongs to China Interactive Publishing Network. Can be used for non-commercial use free reprint, but must

Keep the translation and copyright information of this document.

Network Working Group

A. Katz

REQUEST for Comments: 797

ISI

September 1981

Bitmap file format

(RFC797 - FORMAT for Bitmap files)

This annotation describes the format of the storage simply bit map (one pixel one) recommended in the file. These files may be very

Big, the purpose is to store data in this format in the short term and transfer data between programs. The data in this file should

Stored in the eight-bit byte. The bitmap can be arbitrary.

The first 4 bytes of this file give each row width (X-axis direction), then 4 bytes given a displayed

Number of lines (length, y - axis direction). One byte then is an increment in the X-axis direction, and then one byte is an increment in the Y-axis direction.

The remaining 10 bytes are the bitmap itself. The first 8 bytes of the length and width are most important.

The increment in the X-axis direction and the Y-axis direction displays the interval size between the pixels. For normal displays, X-axis

The increment in the direction and the Y-axis direction is 1.

The display of each line is scanned from left to right. The line starts from top, down down. Each line in the bitmap should

This end is on the boundary. If the width display cannot be removed by 8, the byte of the remaining right side will be filled with 0.

This is a description of a bitmap file (one byte per grinder):

1

2

3

4

5

width

width

width

width

length

6

Seduce

8

9

10

length

length

length

Increase in the X-axis direction

Y-axis direction increment

11

12

13

14

15

data

data

data

data

data...

For example, a bitmap from RAPICOM 450 can use Fine Detail, Quality or Express mode.

In Fine Detail mode, the incremental increment in the X-axis direction and the increment of the Y-axis direction is 1; in the Quality mode, the X-axis

The incremental increment is 1, and the increment in the Y-axis direction is 2; in Express mode, the increment in the X-axis direction is 1, and Y Y

The increment in the axial direction is 3. For these bitmaps, each scan line Y increment will be repeated when it is displayed.

RFC797 - Format for Bitmap Files Bitmap File Format

1

RFC Document Chinese Translation Program

转载请注明原文地址:https://www.9cbs.com/read-125997.html

New Post(0)