From ddc6cf0cf6c11bb50f9f576bf547df3674142c97 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 19 Aug 2017 14:40:33 -0400 Subject: Precheck streams by default There is no need for a --precheck-streams option. We can do the precheck without imposing any penalty, only re-encoding the stream if it fails the first time. --- manual/qpdf-manual.xml | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'manual') diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml index 14e8b8bc..0e7d05f7 100644 --- a/manual/qpdf-manual.xml +++ b/manual/qpdf-manual.xml @@ -996,23 +996,6 @@ outfile.pdf - - - - - Tells qpdf to precheck each stream for the ability to decode - it. Ordinarily qpdf tries to decode streams that it thinks it - can decode based on the filters, and if there ends up being an - error when actually trying to do the decode, the stream data - is truncated. This flag causes qpdf to actually read the - stream fully before deciding whether to filter the stream. - This option will slow qpdf down since it will have to read the - stream twice, but it allows raw stream data to be preserved in - cases where the decoding of the stream would fail for some - reason. This may be useful in working with some damaged files. - - - -- cgit v1.2.3-54-g00ecf