home *** CD-ROM | disk | FTP | other *** search
- LOOM FILE FORMAT
-
- IFF '85
-
- FORM LOOM
-
- LMHD LOOMheader CHUNK
- long LMHDsize
- :struct loomheader
- ushort lh_warps \ #warps
- ushort lh_picks \ #picks
- ushort lh_shedtype \ 0=falling 255=rising
- ushort lh_woffset \ # of leftmost visable warp
- ushort lh_poffset \ # of topmost visable pick
- ushort lh_thecolor \ current color
- ushort lh_sett \ # pixels of sett
- ushort lh_warpsize \ # pixels of warp
- ushort lh_picksize \ # pixels of weft
- ;struct
-
- WARP warp CHUNK
- long WARPchunksize
- :struct warpchunk
- #warps structs ColorPosition wp_slot \ variable length
- ;struct
-
- where ColorPosition is defined:
-
- :struct ColorPosition
- long cp_color
- long cp_position
- ;struct
-
- WEFT weft CHUNK
- long WEFTchnksize
- :struct weftchunk
- #picks structs ColorPosition wf_slot \ variable length
- ;struct
-
- TIEU tieupchunk
- long TIEchunksize
- :struct tiechunk
- 8 doubles TI_RowColumnMask
- ;struct
-
- CMAP colortable chunk
- ILBM standard
-
- Any order is allowed for LMHD WARP WEFT TIEU CMAP chunks but
- any LOOM file must contain all 5 chunks.
-
-