PixArt file format: Difference between revisions

From AtariForumWiki
Jump to navigation Jump to search
>Lp
m (moved PixArt to PixArt file format: For consistency)
>Lp
m (Typos)
Line 2: Line 2:
PixArt          *.PIX
PixArt          *.PIX


   1 long      'PIXT' file ID
   1 long      file ID 'PIXT'
   1 word      version, $0001 or $0002
   1 word      version, $0001 or $0002
   1 byte      chunky (0) or planar (1)
   1 byte      chunky (0) or planar (1)
Line 11: Line 11:
   1 word      unknown (version $0002 only)
   1 word      unknown (version $0002 only)
---------
---------
14 or 16 byte toltal headersize
14 or 16 bytes  total for header


  3*n bytes       palette, only for bitdepth 2, 4, 8.
  3*n bytes     palette, only for bit depths 2, 4, 8.
???? bytes       image data, chunky or planar for bit depth 2, 4, 8
???? bytes     image data, chunky or planar for bit depths 2, 4, 8
                for bit depth 16 alway chunkey, Falcon RGB format  
                bit depth 16 is always chunky, Falcon RGB format (RRRRRGGGGGGBBBBB)
                (RRRRRGGGGGGBBBBB)
</pre>
</pre>
Back to [[ST Picture Formats]]
Back to [[ST Picture Formats]]

Revision as of 04:38, 1 February 2017

PixArt          *.PIX

   1 long       file ID 'PIXT'
   1 word       version, $0001 or $0002
   1 byte       chunky (0) or planar (1)
   1 byte       #bitplanes
   1 word       xres (always a multiple of 16)
   1 word       yres
   1 word       unknown
   1 word       unknown (version $0002 only)
---------
14 or 16 bytes  total for header

 3*n bytes      palette, only for bit depths 2, 4, 8.
???? bytes      image data, chunky or planar for bit depths 2, 4, 8
                bit depth 16 is always chunky, Falcon RGB format (RRRRRGGGGGGBBBBB)

Back to ST Picture Formats