Difference between revisions of "Funny Paint file format"

From AtariForumWiki2018
Jump to: navigation, search
(New page)
 
Lp (talk)
m (updated info)
Line 1: Line 1:
 
<pre>
 
<pre>
 
Funny Paint    *.FUN
 
Funny Paint    *.FUN
 +
 +
Supports animation and image data is never compressed.
  
 
1 long      file id [0x000ACFE2]
 
1 long      file id [0x000ACFE2]
 
1 word      image width in pixels
 
1 word      image width in pixels
 
1 word      image height in pixels
 
1 word      image height in pixels
−
1 word      planes
+
1 word      planes [1, 2, 4, 8, 16]
−
1 word      number of images [usually 1]
+
1 word      number of frames [1 = single image]
 
1 byte      ? [usually 0]
 
1 byte      ? [usually 0]
 
--------
 
--------
Line 12: Line 14:
  
 
??          image data:
 
??          image data:
−
   The image date is never compressed. Supported modes:
+
   Supported modes:
 
     1 to 8 planes: standard Atari interleaved bitmap
 
     1 to 8 planes: standard Atari interleaved bitmap
 
     16 planes: Falcon high-color, word RRRRRGGGGGGBBBBB
 
     16 planes: Falcon high-color, word RRRRRGGGGGGBBBBB
 +
    This section is repeated for each frame
  
 
1 long      total colors - 1
 
1 long      total colors - 1

Revision as of 20:33, 31 January 2017

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:
  Supported modes:
    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
    16 planes will have a palette (predefined pens, should be ignored)

Back to ST Picture Formats