BMP (OS/2) Header Format

OS/2 BMP files begin with a 26-byte header:

offset

size

description

0

2

signature, must be 4D42 hex

2

4

size of BMP file in bytes (unreliable)

6

2

reserved, must be zero

8

2

reserved, must be zero

10

4

offset to start of image data in bytes

14

4

size of BITMAPCOREHEADER structure, must be 12

18

2

image width in pixels

20

2

image height in pixels

22

2

number of planes in the image, must be 1

24

2

number of bits per pixel (1, 4, 8, or 24)

<< Prev

Next >>

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.