My experience is that many of the books at Anna's Archive were scanned at the Internet Archive, using some compromise exposure setting that renders halftones decently, but puts text on a dingy gray background.