diff options
author | mpp <mpp@FreeBSD.org> | 1996-01-23 12:29:07 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 1996-01-23 12:29:07 +0000 |
commit | bed6c740ce8181de2bc93f03538f1e7a09689ece (patch) | |
tree | 230374b5040b0cdd1f4794e7eee347681802c0f8 /usr.bin/file/Magdir/iff | |
parent | 63156ffa52b9fb92e18757841f7b5a995bf5b918 (diff) | |
parent | c335a065680c2ca4e8d5b34f7b4f590e27edbe6a (diff) | |
download | FreeBSD-src-bed6c740ce8181de2bc93f03538f1e7a09689ece.zip FreeBSD-src-bed6c740ce8181de2bc93f03538f1e7a09689ece.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r13584,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'usr.bin/file/Magdir/iff')
-rw-r--r-- | usr.bin/file/Magdir/iff | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/usr.bin/file/Magdir/iff b/usr.bin/file/Magdir/iff index 2d2f95b..68d1b79 100644 --- a/usr.bin/file/Magdir/iff +++ b/usr.bin/file/Magdir/iff @@ -1,5 +1,28 @@ -# image file format -# From Robert Potter, potter@cs.rochester.edu -0 string Imagefile\ version- iff image data -# this adds the whole header (inc. version number), informative but longish ->10 string >\0 %s + +#------------------------------------------------------------------------------ +# iff: file(1) magic for Interchange File Format (see also "audio" & "images") +# +# Daniel Quinlan (quinlan@yggdrasil.com) -- IFF was designed by Electronic +# Arts for file interchange. It has also been used by Apple, SGI, and +# especially Commodore-Amiga. +# +# IFF files begin with an 8 byte FORM header, followed by a 4 character +# FORM type, which is followed by the first chunk in the FORM. + +0 string FORM IFF data +#>4 belong x \b, FORM is %d bytes long +# audio formats +>8 string AIFF \b, AIFF audio +>8 string AIFC \b, AIFF-C compressed audio +>8 string 8SVX \b, 8SVX 8-bit sampled sound voice +>8 string SAMP \b, SAMP sampled audio +# image formats +>8 string ILBMBMHD \b, ILBM interleaved image +>>20 beshort x \b, %d x +>>22 beshort x %d +>8 string RGBN \b, RGBN 12-bit RGB image +>8 string RGB8 \b, RGB8 24-bit RGB image +>8 string DR2D \b, DR2D 2-D object +>8 string TDDD \b, TDDD 3-D rendering +# other formats +>8 string FTXT \b, FTXT formatted text |