#! /bin/sh

PATH="/opt/lib/xfax:/opt/bin"

# For high res screen:
efix -i fax -o pgm -s1.3x1.3 -p28.1x42.4cm $1 | ppmtoxpm > $2

# For medium res screen:
#efix -i fax -o pgm -s1.2x1.2 -p25.1x35.0cm $1 | ppmtoxpm > $2

# For low res screen:
#efix -i fax -o pgm -s1x1 -p20.7x29.9cm $1 | ppmtoxpm > $2

