PixArt
From Just Solve the File Format Problem
				
								
				(Difference between revisions)
				
																
				
				
								
				|  (PRONOM) | Dexvertbot  (Talk | contribs)  m (Change telparia.com samples link to template) | ||
| Line 48: | Line 48: | ||
| == Sample files == | == Sample files == | ||
| − | *  | + | * {{DexvertSamples|image/pixArt}} | 
| == Links == | == Links == | ||
| * [https://www.atariuptodate.de/en/564/pixart PixArt v4.52] | * [https://www.atariuptodate.de/en/564/pixart PixArt v4.52] | ||
| * [https://www.atari-forum.com/index.php/PixArt_file_format PixArt_file_format] | * [https://www.atari-forum.com/index.php/PixArt_file_format PixArt_file_format] | ||
Latest revision as of 02:55, 28 December 2023
PixArt is a graphics program for the Atari line of computers.
| Contents | 
[edit] Identification
.pix files begin with ASCII "PIXT".
[edit] Format
1 long           file ID 'PIXT'
1 word           version, $0001 or $0002
1 byte           type, 0 to 2 depending on number of planes, see below
1 byte           number of planes
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
                   3 bytes per entry in RGB order (0-255)
???? bytes       image data:
                   bit depth 1
                     type = 1, planar
                   bit depths 2, 4, 8
                     type = 0, chunky
                     type = 1, planar 
                   bit depth 16 is always chunky:
                     type = 0, xRRRRRGGGGGBBBBB
                     type = 1, RRRRRGGGGGGBBBBB (Falcon)
                     type = 2, GGGBBBBBxRRRRRGG (word swapped)
                   bit depth 24 is always chunky:
                     type = 0, BGR
                     type = 1, RGB
                   bit depth 32 is always chunky:
                     type = 0, ARGB

