Page 70 - DCAP303_MULTIMEDIA_SYSTEMS
P. 70
Multimedia Systems
notes BYTE Version operator (0x11)
BYTE Version number (0x01)
or, in v2.0 files, by:
SHORT Version operator (0x0011)
SHORT Version number (0x02ff)
Version 2.0 files also have a 26-byte header following the version information:
SHORT Header opcode for Version 2 (0C00)
SHORT FFEF or FFEE
SHORT Reserved (0000)
LONG Original horizontal resolution in pixels/inch
LONG Original vertical resolution in pixels/inch
SHORT Frame upper left x at original resolution
SHORT Frame upper left y original resolution
SHORT Frame lower right x at original resolution
SHORT Frame lower right y at original resolution
LONG Reserved
picSize and picFrame records follow the header.
picSize
WORD Picture size in bytes
WORD Image top
WORD Image left
WORD Image bottom
WORD Image right
picFrame (PICT v1.0)
BYTE Version (11h)
BYTE Picture version (01h)
This is followed by the image data. Each record in a PICT version 1 file consists of a one-byte
opcode followed by the actual data.
picFrame (PICT v2.0)
WORD Version (0011h)
WORD Picture version (02ffh)
WORD Reserved header opcode (0c00h)
WORD Header opcode (0c00h)
DWORD Picture size (bytes)
DWORD Original horizontal resolution (pixels/inch)
64 LoveLy professionaL University