]> granicus.if.org Git - file/commitdiff
New magic from Thomas Kaeding
authorChristos Zoulas <christos@zoulas.com>
Tue, 3 Jul 2018 20:55:37 +0000 (20:55 +0000)
committerChristos Zoulas <christos@zoulas.com>
Tue, 3 Jul 2018 20:55:37 +0000 (20:55 +0000)
magic/Magdir/audio
magic/Magdir/images

index 941975e6a53036a3b72aabf9d7483983fa1e5e84..1c92cf5d9fae9a79955735e437f0a0cc6f2ac66b 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: audio,v 1.88 2018/06/23 16:36:15 christos Exp $
+# $File: audio,v 1.89 2018/07/03 20:55:37 christos Exp $
 # audio:  file(1) magic for sound formats (see also "iff")
 #
 # Jan Nicolai Langfeldt (janl@ifi.uio.no), Dan Quinlan (quinlan@yggdrasil.com),
 >>>0x02                beshort         >0x37
 >>>>0x24       belong          !0              \b, looping
 >>0x13         byte&0x08       0x08            \b, encrypted
+
+# Lossless audio (.la) (http://www.lossless-audio.com/)
+0      string  LA
+>2     string  03      Lossless audio version 0.3
+>2     string  04      Lossless audio version 0.4
+
+# Sony PlayStation Audio (.xa)
+0      leshort 0x4158  Sony PlayStation Audio
+
index fc375923c6aa9bd4cf4844b92f70e4e1eae09cfc..15ec18a70d0590093f9377e35d61deec94310c0c 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: images,v 1.145 2018/06/23 16:42:02 christos Exp $
+# $File: images,v 1.146 2018/07/03 20:55:37 christos Exp $
 # images:  file(1) magic for image formats (see also "iff", and "c-lang" for
 # XPM bitmaps)
 #
 >7     lelong&0x00FFFFFF       x               texture, %u
 >10    lelong&0x00FFFFFF       x               x %u
 >13    lelong&0x00FFFFFF       >1              x %u
+
+# Zebra Metafile graphic
+# http://www.fileformat.info/format/zbr/egff.htm
+0      beshort 0x9a02  Zebra Metafile graphic
+>2     leshort 1       (version 1.x)
+>2     leshort 2       (version 1.1x or 1.2x)
+>2     leshort 3       (version 1.49)
+>2     leshort 4       (version 1.50)
+>4     string  x       (comment = %s)
+
+# Microsoft Paint graphic
+# http://www.fileformat.info/format/mspaint/egff.htm
+0      string  DanM    icrosoft Paint image data (version 1.x)
+>4     leshort x       (%d
+>>6    leshort x       x %d)
+0      string  LinS    Microsoft Paint image data (version 2.0)
+>4     leshort x       (%d
+>>6    leshort x       x %d)