From 5211bcb5eaa2b6b3c8aa48580f1b97314c37bb4a Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Wed, 30 Jan 2019 17:56:47 -0500 Subject: Externalize inline images (fixes #278) --- manual/qpdf-manual.xml | 70 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 69 insertions(+), 1 deletion(-) (limited to 'manual') diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml index 605e1a5d..834942ff 100644 --- a/manual/qpdf-manual.xml +++ b/manual/qpdf-manual.xml @@ -1746,7 +1746,11 @@ outfile.pdf . See also the , , and - options. + options. By default, starting + in qpdf 8.4, inline images are converted to regular images + and optimized as well. Use + to prevent inline images + from being included. @@ -1780,6 +1784,43 @@ outfile.pdf + + + + + + + + Convert inline images to regular images. By default, images + whose data is at least 1,024 bytes are converted when this + option is selected. Use to + change the size threshold. This option is implicitly selected + when is selected. Use + to exclude inline images + from image optimization. + + + + + + + + Avoid converting inline images whose size is below the + specified minimum size to regular images. If omitted, the + default is 1,024 bytes. Use 0 for no minimum. + + + + + + + + Prevent inline images from being included in image + optimization. This option has no affect when + is not specified. + + + @@ -4321,6 +4362,18 @@ print "\n"; + + + New options , + , and + control qpdf's + handling of inline images and possible conversion of them to + regular images. By default, + now also applies to + inline images. These options are discussed in . + + Add options and @@ -4415,6 +4468,14 @@ print "\n"; not compressed. + + + When the tokenizer returns inline image tokens, delimiters + following ID and EI + operators are no longer excluded. This makes it possible to + reliably extract the actual image data. + + @@ -4422,6 +4483,13 @@ print "\n"; Library Enhancements + + + Add method + QPDFPageObjectHelper::externalizeInlineImages + to convert inline images to regular images. + + Add method -- cgit v1.2.3-54-g00ecf