1CHOPTEST(8C) CHOPTEST(8C)
2
3
4
6 choptest - HylaFAX page chopping test program
7
9 /usr/sbin/choptest [ options ] input.tif
10
12 choptest is a program for testing the page chopping support in the
13 HylaFAX software (specifically, in the faxq(8C) program). choptest
14 analyzes a TIFF/F (TIFF Class F) file with 1-D MH- or 2-D MR-encoded
15 data and reports what the automatic page chopping logic would do if the
16 file were submitted for transmission. Options are provided for con‐
17 trolling whether choptest checks the last page or all pages of the doc‐
18 ument, and what whitespace threshold to use in deciding if a page
19 should be chopped.
20
22 -a Chop all pages in the document. This is equivalent to set‐
23 ting the PageChop configuration parameter to ``all''; c.f.
24 hylafax-config(5F). By default only the last page of the
25 document is considered.
26
27 -t inches Set the minimum whitespace threshold that must be present on
28 a page for it to be chopped. This is equivalent to the Page‐
29 ChopThreshold configuration parameter; c.f. hylafax-con‐
30 fig(5F). By default choptest requires that at least 3 inches
31 of trailing whitespace be present.
32
34 The following shows a multi-page, high-resolution document. Each page
35 has insufficient whitespace for it to be chopped.
36
37 hyla% ./choptest -a ~/tiff/pics/faxix.tif
38 Chop pages with >=3" of white space at the bottom.
39 Don't chop, found 67 rows, need 588 rows
40 Don't chop, found 67 rows, need 588 rows
41 Don't chop, found 67 rows, need 588 rows
42 Don't chop, found 53 rows, need 588 rows
43 Don't chop, found 91 rows, need 588 rows
44 Don't chop, found 99 rows, need 588 rows
45 Don't chop, found 47 rows, need 588 rows
46
48 faxq(8C), hylafax-config(5F)
49
50
51
52 October 3, 1995 CHOPTEST(8C)