From c71dc6888c69aea7a892b313e07dba377200a6c9 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Fri, 22 Jun 2018 10:45:31 -0400 Subject: Don't prune resource dictionaries on errors or by request If we are unable to filter a page's content streams, don't attempt to remove objects from the page's resource dictionary. Also provide a command line option to suppress resource removal in case we ever need this as a workaround for some bug or broken PDF files. --- manual/qpdf-manual.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'manual/qpdf-manual.xml') diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml index 3feb9fda..49e5b838 100644 --- a/manual/qpdf-manual.xml +++ b/manual/qpdf-manual.xml @@ -1126,6 +1126,28 @@ outfile.pdf lengths as direct or indirect differently from the original file, and the original file may have gaps in its numbering. + + See also , + which does something completely different. + + + + + + + + Starting with qpdf 8.1, when splitting pages, qpdf ordinarily + attempts to remove images and fonts that are not used by a + page even if they are referenced in the page's resources + dictionary. This option suppresses that behavior. The only + reason to use this is if you suspect that qpdf is removing + resources it shouldn't be removing. If you encounter that + case, please report it as a bug. + + + See also , + which does something completely different. + -- cgit v1.2.3-54-g00ecf