PCX.Header

Implementation of the PCX header

Members

Variables

_version
ubyte _version;

Version number

bitsPerPixel
ubyte bitsPerPixel;

Bits per pixel

bytesPerLine
ushort bytesPerLine;

Size of scanlines in bytes

encoding
ubyte encoding;

Encoding format

hRes
ushort hRes;

Horizontal resolution

hScreenSize
ushort hScreenSize;

Horizontal screen size

identifier
ubyte identifier;

PCX ID number

numBitPlanes
ubyte numBitPlanes;

N of bitplanes

palette
ubyte[48] palette;

16-Color EGA palette

paletteType
ushort paletteType;

Palette type

reserved1
ubyte reserved1;

Unused padding

reserved2
ubyte reserved2;

Unused padding

vRes
ushort vRes;

Vertical resolution

vScreenSize
ushort vScreenSize;

Vertical screen size

xEnd
ushort xEnd;

Right of image

xStart
ushort xStart;

Left of image

yEnd
ushort yEnd;

Bottom of image

yStart
ushort yStart;

Top of image

Meta