]> granicus.if.org Git - file/commitdiff
PR/425: Bernd Nuernberger: Add Brooktrout fax
authorChristos Zoulas <christos@zoulas.com>
Sat, 14 Feb 2015 17:35:47 +0000 (17:35 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sat, 14 Feb 2015 17:35:47 +0000 (17:35 +0000)
magic/Magdir/modem

index 890302e09c62c117af9c13fb521f67b355840f89..7673f9bd252b7b7cb026fde1c378e6ac1d17c5f8 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: modem,v 1.4 2009/09/19 16:28:10 christos Exp $
+# $File: modem,v 1.5 2010/09/20 18:55:20 rrt Exp $
 # modem:  file(1) magic for modem programs
 #
 # From: Florian La Roche <florian@knorke.saar.de>
 0    string    PVF2\n         portable voice format
 >5   string >\0          (ascii %s)
 
+# From: Bernd Nuernberger <bernd.nuernberger@web.de>
+# Brooktrout G3 fax data incl. 128 byte header
+# Common suffixes: 3??, BRK, BRT, BTR
+0      leshort         0x01bb
+>2     leshort         0x0100          Brooktrout 301 fax image,
+>>9    leshort         x               %d x
+>>0x2d leshort         x               %d
+>>6    leshort         200             \b, fine resolution
+>>6    leshort         100             \b, normal resolution
+>>11   byte            1               \b, G3 compression
+>>11   byte            2               \b, G32D compression