Unit Univpcx

Classes

TPCX - Published declarations
TUnivPCX - PCX file loader v1.

Functions

Register - Mono and 8 bit images are OK

Types

PPCXHeader
TPCX16Palette
TPCXHeader

Constants

Variables


Functions


procedure Register;

Mono and 8 bit images are OK

Types


PPCXHeader=^TPCXHeader

TPCX16Palette = array[0..15,1..3] of byte;

TPCXHeader = record
Password : byte;
Version : byte;
Encoding : byte;
Bits : byte;
x1 : word;
y1 : word;
x2 : word;
y2 : word;
hRez : word;
vRes : word;
palette : TPCX16Palette;
reserved : byte;
planes : byte;
bytes : word;
palDesc : word;
unused : array[1..58] of byte;
end;

Constants


Variables