Difference between revisions of "TruePaint Animation file format"

From AtariForumWiki2018
Jump to: navigation, search
(New page)
 
m (3 revisions imported)
 
(2 intermediate revisions by one other user not shown)
Line 9: Line 9:
 
1 word            planes
 
1 word            planes
 
1 word            compression [always 0 = uncompressed]
 
1 word            compression [always 0 = uncompressed]
−
1 long            image data size = ((x_size+15)&0xffff0)*y_size*bits_per_pixel/8  
+
1 long            image data size = ((width+15)&0xffff0)*height*bits_per_pixel/8  
 
104 bytes        reserved? [$0]
 
104 bytes        reserved? [$0]
 
1 word            speed
 
1 word            speed
Line 21: Line 21:
  
 
                   Repeated for each frame, until end of file
 
                   Repeated for each frame, until end of file
−
1 long            size of frame data
+
1 long            frame data size
−
size of frame    frame data
+
frame data size   frame data
  
 
The first frame is always a standard Atari ST bitmap, including Falcon modes.
 
The first frame is always a standard Atari ST bitmap, including Falcon modes.

Latest revision as of 01:14, 4 June 2018

TruePaint Animation    *.TPA

1 long            file id: $54504100 ['TPA\0']
1 word            version? [$0100]
1 word            palette size [0 = none]
1 word            width
1 word            height
1 word            planes
1 word            compression [always 0 = uncompressed]
1 long            image data size = ((width+15)&0xffff0)*height*bits_per_pixel/8 
104 bytes         reserved? [$0]
1 word            speed
1 word            length of sequence (not necessarily total frames)
---------
128 bytes         total for header

3*palette_size    words   Palette data, RGB, values 0..1000. (VDI order)

image data size   1st frame, always a full frame width*height in size

                  Repeated for each frame, until end of file
1 long            frame data size
frame data size   frame data

The first frame is always a standard Atari ST bitmap, including Falcon modes.

The structure of individual frames is still unknown.

Back to ST Picture Formats