home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 May
/
Chip_2000-05_cd1.bin
/
sharewar
/
FFE
/
GRAPH.SWG
/
0015_PIC.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-09-04
|
2KB
|
38 lines
--------I-PIC-------------------------------
PIC files contain images in an uncompressed format. Both the original
Animator and Animator Pro from Autodesk produce PIC files. The file
formats are different; Animator Pro produces a hierarchial block
oriented file, while the original Animator file is a simpler fixed
format. See PIC(Pro) for further information on the Animator Pro PIC
format.
The original Animator uses this format to store a single-frame picture
image. This format description applies to both PIC and original Animator
CEL files. The file begins with a 32 byte header, as follows:
OFFSET Count TYPE Description
0000h 1 word ID=9119h
0002h 1 word Width of image; PIC files have always a width
of 320, CEL images may have any value.
0004h 1 word Height of image, 200 for a PIC, any value for
a CEL file.
0006h 1 word X offset of image, always 0 for a PIC image,
may be nonzero in a CEL image.
0008h 1 word Y offset of image. Zero for a PIC file.
000Ah 1 byte Bits per pixel (8)
000Bh 1 byte Compresion flag, always zero
000Ch 1 dword Size of the image data in bytes
0010h 16 byte reserved(0)
Immediately following the header is the color map. It contains all 256
palette entries in rgb order. Each of the r, g, and b components is a
single byte in the range of 0-63. Following the color palette is the
image data, one byte per pixel, from left to right, top to bottom.
EXTENSION:PIC,CEL
OCCURENCES:PC
PROGRAMS:Autodesk Animator
SEE ALSO:CEL,FLIc,PIC(PRO)