]> granicus.if.org Git - file/commitdiff
PR/497: Add FLIF
authorChristos Zoulas <christos@zoulas.com>
Mon, 23 Nov 2015 22:04:36 +0000 (22:04 +0000)
committerChristos Zoulas <christos@zoulas.com>
Mon, 23 Nov 2015 22:04:36 +0000 (22:04 +0000)
magic/Magdir/flif [new file with mode: 0644]
magic/Makefile.am

diff --git a/magic/Magdir/flif b/magic/Magdir/flif
new file mode 100644 (file)
index 0000000..c77551e
--- /dev/null
@@ -0,0 +1,36 @@
+
+#------------------------------------------------------------------------------
+#      $File:  images,v        1.112   2015/11/13      00:38:33        christos        Exp     $
+#      flif:   Magic   data    for     file(1) command.
+#      FLIF    (Free   Lossless        Image   Format)
+
+0      string  FLIF    FLIF
+>4     string  <H      image data
+>>6    beshort x       \b, %u
+>>8    beshort x       \bx%u
+>>5    string  1       \b, 8-bit/color,
+>>5    string  2       \b, 16-bit/color,
+>>4    string  1       \b, grayscale, non-interlaced
+>>4    string  3       \b, RGB, non-interlaced
+>>4    string  4       \b, RGBA, non-interlaced
+>>4    string  A       \b, grayscale
+>>4    string  C       \b, RGB, interlaced
+>>4    string  D       \b, RGBA, interlaced
+>4     string  >H      \b, animation data
+>>5    ubyte   <255    \b, %i frames
+>>>7   beshort x       \b, %u
+>>>9   beshort x       \bx%u
+>>>6   string  =1      \b, 8-bit/color
+>>>6   string  =2      \b, 16-bit/color
+>>5    ubyte   0xFF
+>>>6   beshort x       \b, %i frames,
+>>>9   beshort x       \b, %u
+>>>11  beshort x       \bx%u
+>>>8   string  =1      \b, 8-bit/color
+>>>8   string  =2      \b, 16-bit/color
+>>4    string  =Q      \b, grayscale, non-interlaced
+>>4    string  =S      \b, RGB, non-interlaced
+>>4    string  =T      \b, RGBA, non-interlaced
+>>4    string  =a      \b, grayscale
+>>4    string  =c      \b, RGB, interlaced
+>>4    string  =d      \b, RGBA, interlaced
index b598f54a4fc1ea4a643d5db17aa9dd4cd49bafae..b33e22838df0969abc3dc5153340883415b5e1e1 100644 (file)
@@ -1,5 +1,5 @@
 #
-# $File: Makefile.am,v 1.105 2015/10/02 18:36:54 christos Exp $
+# $File: Makefile.am,v 1.106 2015/11/14 13:39:13 christos Exp $
 #
 MAGIC_FRAGMENT_BASE = Magdir
 MAGIC_DIR = $(top_srcdir)/magic
@@ -81,6 +81,7 @@ $(MAGIC_FRAGMENT_DIR)/fcs \
 $(MAGIC_FRAGMENT_DIR)/filesystems \
 $(MAGIC_FRAGMENT_DIR)/finger \
 $(MAGIC_FRAGMENT_DIR)/flash \
+$(MAGIC_FRAGMENT_DIR)/flif \
 $(MAGIC_FRAGMENT_DIR)/fonts \
 $(MAGIC_FRAGMENT_DIR)/fortran \
 $(MAGIC_FRAGMENT_DIR)/frame \