1 2#------------------------------------------------------------------------------ 3# $File: modem,v 1.6 2015/02/14 17:35:47 christos Exp $ 4# modem: file(1) magic for modem programs 5# 6# From: Florian La Roche <florian@knorke.saar.de> 71 string PC\ Research,\ Inc Digifax-G3-File 8>29 byte 1 \b, fine resolution 9>29 byte 0 \b, normal resolution 10 110 short 0x0100 raw G3 data, byte-padded 120 short 0x1400 raw G3 data 13# 14# Magic data for vgetty voice formats 15# (Martin Seine & Marc Eberhard) 16 17# 18# raw modem data version 1 19# 200 string RMD1 raw modem data 21>4 string >\0 (%s / 22>20 short >0 compression type 0x%04x) 23 24# 25# portable voice format 1 26# 270 string PVF1\n portable voice format 28>5 string >\0 (binary %s) 29 30# 31# portable voice format 2 32# 330 string PVF2\n portable voice format 34>5 string >\0 (ascii %s) 35 36# From: Bernd Nuernberger <bernd.nuernberger@web.de> 37# Brooktrout G3 fax data incl. 128 byte header 38# Common suffixes: 3??, BRK, BRT, BTR 390 leshort 0x01bb 40>2 leshort 0x0100 Brooktrout 301 fax image, 41>>9 leshort x %d x 42>>0x2d leshort x %d 43>>6 leshort 200 \b, fine resolution 44>>6 leshort 100 \b, normal resolution 45>>11 byte 1 \b, G3 compression 46>>11 byte 2 \b, G32D compression 47