archive.org grayscale PDFs from scans compose pages from 2 PBM files and a PGM file. One of the PBM files is a mask which allows the background of the page to be made pure white. Details in the post at:
https://www.mobileread.com/forums/sh...94&postcount=3