CHOPTEST(8C)

πŸ“¦
version 7.0.11 Β· 4 versions
, in fedora 43, fedora 44

πŸ’– NAME πŸ’–

choptest β€” the HylaFAX page chopping test program, bestie. yes she has a whole program just for testing page chops, and honestly? iconic.


✨ SYNOPSIS ✨

/usr/bin/choptest [ options ] input.tif

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so choptest is literally a program for testing the page chopping support in the HylaFAX software β€” and when we say the HylaFAX software we mean specifically the faxq(8C) program, no cap. πŸŽ€

What she does: choptest analyzes a TIFF/F (that's TIFF Class F, for the uninitiated πŸ’…) file with 1-D MH- or 2-D MR-encoded data and then reports what the automatic page chopping logic would do if you actually submitted that file for transmission. it's giving preview mode, it's giving dress rehearsal, it's giving she's not gonna touch your actual fax she's just gonna tell you the tea.

and because options are everything, there are options controlling whether choptest checks just the last page or all the pages of the document, plus what whitespace threshold to use when deciding if a page deserves the chop. 🌸


πŸŽ€ OPTIONS πŸŽ€

  • -a β€” chop all pages in the document, go off queen. this is equivalent to setting the PageChop configuration parameter to all; c.f. hylafax-config(5F). by default, only the last page of the document is considered, so if you want everybody chopped you gotta say so.
  • -t inches β€” set the minimum whitespace threshold that must be present on a page for it to be chopped. this is equivalent to the PageChopThreshold configuration parameter; c.f. hylafax-config(5F). by default choptest requires that at least 3 inches of trailing whitespace be present. three whole inches. she has standards. πŸ’…

🌈 EXAMPLES 🌈

the following shows a multi-page, high-resolution document. each page has insufficient whitespace for it to be chopped β€” tragic, honestly, not a single chop to be found 😭

hyla% ./choptest -a ~/tiff/pics/faxix.tif
Chop pages with >=3" of white space at the bottom.
Don't chop, found 67 rows, need 588 rows
Don't chop, found 67 rows, need 588 rows
Don't chop, found 67 rows, need 588 rows
Don't chop, found 53 rows, need 588 rows
Don't chop, found 91 rows, need 588 rows
Don't chop, found 99 rows, need 588 rows
Don't chop, found 47 rows, need 588 rows

πŸ‘‘ SEE ALSO πŸ‘‘

faxq(8C), hylafax-config(5F)


bestie reminder: she only reports what the chopping logic would do β€” she doesn't actually chop anything for real. vibe check passed. 🫢

okay that's the whole page, mwah πŸ’– this one's from October 3, 1995 (yes she's vintage, vintage is a personality) and she answers to CHOPTEST(8C) β€” stay choppy, bestie! πŸ¦‹βœ¨

πŸ“¦ where this page comes from