PixArt file format: Difference between revisions
Jump to navigation
Jump to search
>Lp mNo edit summary |
>Lp m (updated info) |
||
| Line 16: | Line 16: | ||
???? bytes image data, chunky or planar for bit depths 2, 4, 8 | ???? bytes image data, chunky or planar for bit depths 2, 4, 8 | ||
bit depth 16 is always chunky, format: | bit depth 16 is always chunky, format: | ||
type = 0 ( | type = 0, xRRRRRGGGGGBBBBB | ||
type = 1, RRRRRGGGGGGBBBBB (Falcon) | |||
type = 2, GGGBBBBBxRRRRRGG (word swapped) | |||
bit depth 24 is always chunky, format: | bit depth 24 is always chunky, format: | ||
type = 0 | type = 0, BGR | ||
type = 1, RGB | |||
bit depth 32 is always chunky, format: | bit depth 32 is always chunky, format: | ||
type = 0 | type = 0, ARGB | ||
</pre> | </pre> | ||
Back to [[ST Picture Formats]] | Back to [[ST Picture Formats]] | ||
Revision as of 15:28, 1 February 2017
PixArt *.PIX
1 long file ID 'PIXT'
1 word version, $0001 or $0002
1 byte type, 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, format:
type = 0, xRRRRRGGGGGBBBBB
type = 1, RRRRRGGGGGGBBBBB (Falcon)
type = 2, GGGBBBBBxRRRRRGG (word swapped)
bit depth 24 is always chunky, format:
type = 0, BGR
type = 1, RGB
bit depth 32 is always chunky, format:
type = 0, ARGB
Back to ST Picture Formats