Difference between revisions of "Funny Paint file format"

From AtariForumWiki2018
Jump to: navigation, search
m (updated info)
m (5 revisions imported)
 
(2 intermediate revisions by one other user not shown)
Line 24: Line 24:
 
??          palette data:
 
??          palette data:
 
   The palette is stored in VDI format (0-1000) in VDI order
 
   The palette is stored in VDI format (0-1000) in VDI order
−
    3 words per entry for R, G, and B
+
  3 words per entry for R, G, and B
−
    16 planes will have a palette (predefined pens, should be ignored)
+
  1 plane palette should be ignored, seems to contain bogus values
 +
  16 planes will have a palette (predefined pens, should be ignored)
 
</pre>
 
</pre>
 
Back to [[ST Picture Formats]]
 
Back to [[ST Picture Formats]]

Latest revision as of 00:52, 4 June 2018

Funny Paint    *.FUN

Supports animation and image data is never compressed.

1 long      file id [0x000ACFE2]
1 word      image width in pixels
1 word      image height in pixels
1 word      planes [1, 2, 4, 8, 16]
1 word      number of frames [1 = single image]
1 byte      ? [usually 0]
--------
13 bytes    total for header

??          image data:
  1 to 8 planes: standard Atari interleaved bitmap
  16 planes: Falcon high-color, word RRRRRGGGGGGBBBBB
  This section is repeated for each frame

1 long      total colors - 1
1 long      ? (varies)
1 long      ? (varies)

??          palette data:
  The palette is stored in VDI format (0-1000) in VDI order
  3 words per entry for R, G, and B
  1 plane palette should be ignored, seems to contain bogus values
  16 planes will have a palette (predefined pens, should be ignored)

Back to ST Picture Formats