Rembrandt file format

From Atari Wiki
Revision as of 13:16, 13 January 2017 by Lp (talk | contribs) (New page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Rembrandt (True Color Picture)    *.TCP

The main header of the file:

8 bytes     file id ["TRUECOLR"]
1 long      total length of the file in bytes
1 word      length of this header in bytes [usually 18]
1 word      format version number [1]
1 word      number of images stored [1 = single image]
--------
18 bytes    total for main header

The following is repeated for each image in the file.

The header of each image:

1 long      image id ['PICT']
1 long      total length of image data in bytes
1 word      length of this header in bytes [usually 198]
1 word      width in pixels of the image [Pair]
1 word      height in pixels of the image
1 word      default color transparency
1 word      color of the default pencil
1 byte      compression mode [0 = None]
1 byte      presence of a palette [0 = None]
1 byte      indicates over scan
1 byte      indicates double width
1 byte      indicates double height
175 bytes   comment text, each line null terminated? [5 * 35] 
---------
198 bytes   total for image header

?           image data:
width*height*2 bytes Falcon true color data,  word RRRRRGGGGGGBBBBB

Note: Compression flag appears to have never been implemented.

Back to ST Picture Formats