[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]

Here's a box diagram for an example IFF file, a raster image FORM ilbm.
This form contains a bitmap header property chunk bmhd, a color map
property chunk cmap, and a raster data chunk body.  this particular raster
is 320 x 200 pixels x 3 bit planes uncompressed.  The "0" after the CMAP
chunk represents a zero pad byte; included since the CMAP chunk has an odd
length.  The text to the right of the diagram shows the outline that would
be printed by the IFFCheck utility program for this particular file.


                  +----------------------------+
                  |                            |
                  |  "FORM"            24070   |  FORM 24070 ILBM
                  |                            |
               -  +----------------------------+
               |  |                            |
               |  |    "ILBM"                  |
               |  |                            |
               |  |  +----------------------+  |
               |  |  |  "BMHD"         20   |  |  .BMHD 20
               |  |  |----------------------|  |
               |  |  |  320, 200, 0, 0, 3,  |  |
               |  |  |  0, 0, 0, ....       |  |
               |  |  +----------------------+  |
               |  |                            |
        24070 <   |  +----------------------+  |
         bytes |  |  |  "CMAP"         21   |  |  .CMAP 21
               |  |  |----------------------|  |
               |  |  |  0, 0, 0; 32, 0, 0;  |  |
               |  |  |  64, 0, 0 ...        |  |
               |  |  +----------------------+  |
               |  |     0                      |
               |  |  +----------------------+  |
               |  |  |  "BODY"      24000   |  |
               |  |  |----------------------|  |  .BODY 24000
               |  |  |  0, 0, 0....         |  |
               |  |  +----------------------+  |
               |  |                            |
               -- +----------------------------+


This second diagram shows a list of two forms ilbm sharing a common bmhd
property and a common cmap property.  again, the text on the right is an
outline รก la IFFCheck.


                +------------------------------+
                | "LIST"              48114    |
                +------------------------------+
                |                              |
                |   "ILBM"                     |
                |                              |
                |  +------------------------+  |
                |  |  "PROP"        62      |  | .PROP 62 ILBM
                |  +------------------------+  |
                |  |                        |  |
                |  |  "ILBM"                |  |
                |  | +--------------------+ |  |
                |  | |  "BMHD"       20   | |  | ..BMHD 20
                |  | |--------------------| |  |
                |  | |  320, 200, 0, 0, 3,| |  |
                |  | |  0, 0, 0, ....     | |  |
                |  | +--------------------+ |  |
                |  |                        |  |
                |  | +--------------------+ |  |
                |  | |  "CMAP"       21   | |  | ..CMAP 21
                |  | |--------------------| |  |
                |  | |  0, 0, 0; 32, 0, 0;| |  |
                |  | |  64, 0, 0 ....     | |  |
                |  | +--------------------+ |  |
                |  |   0                    |  |
                |  +------------------------+  |
                |                              |
                |                              |
                |  +------------------------+  |
                |  |  "FORM"        24012   |  | .FORM 24012 ILBM
                |  +------------------------+  |
                |  |                        |  |
                |  |  "ILBM"                |  |
                |  | +--------------------+ |  |
                |  | |  "BODY"    24000   | |  | ..BODY 24000
                |  | |--------------------| |  |
                |  | |  0, 0, 0....       | |  |
                |  | +--------------------+ |  |
                |  +------------------------+  |
                |                              |
                |                              |
                |  +------------------------+  |
                |  |  "FORM"        24012   |  | .FORM 24012 ILBM
                |  +------------------------+  |
                |  |                        |  |
                |  |  "ILBM"                |  |
                |  | +--------------------+ |  |
                |  | |  "BODY"    24000   | |  | ..BODY 24000
                |  | |--------------------| |  |
                |  | |  0, 0, 0....       | |  |
                |  | +--------------------+ |  |
                |  +------------------------+  |
                |                              |
                |                              |
                +------------------------------+