Commit c9cc83621bf383a135699e2c952713eb592ebcb7
1 parent
5508f746
Add the word "slow" to preserved unreferenced resources docs (fixes #380)
This makes it more likely for someone who notices a big slow-down in page splitting to discover the option.
Showing
1 changed file
with
15 additions
and
9 deletions
manual/qpdf-manual.xml
| @@ -1862,10 +1862,14 @@ outfile.pdf</option> | @@ -1862,10 +1862,14 @@ outfile.pdf</option> | ||
| 1862 | Starting with qpdf 8.1, when splitting pages, qpdf ordinarily | 1862 | Starting with qpdf 8.1, when splitting pages, qpdf ordinarily |
| 1863 | attempts to remove images and fonts that are not used by a | 1863 | attempts to remove images and fonts that are not used by a |
| 1864 | page even if they are referenced in the page's resources | 1864 | page even if they are referenced in the page's resources |
| 1865 | - dictionary. This option suppresses that behavior. The only | ||
| 1866 | - reason to use this is if you suspect that qpdf is removing | ||
| 1867 | - resources it shouldn't be removing. If you encounter that | ||
| 1868 | - case, please report it as a bug. | 1865 | + dictionary. This option suppresses that behavior. There are |
| 1866 | + few reasons to use this option. One reason to use this is if | ||
| 1867 | + you suspect that qpdf is removing resources it shouldn't be | ||
| 1868 | + removing. If you encounter that case, please report it as a | ||
| 1869 | + bug. Another reason is that the new behavior can be much | ||
| 1870 | + slower for files that include a very large number of images or | ||
| 1871 | + other XObjects on a page. In that case, using this option will | ||
| 1872 | + return qpdf to the old behavior and speed. | ||
| 1869 | </para> | 1873 | </para> |
| 1870 | <para> | 1874 | <para> |
| 1871 | See also <option>--preserve-unreferenced</option>, which does | 1875 | See also <option>--preserve-unreferenced</option>, which does |
| @@ -6013,11 +6017,13 @@ print "\n"; | @@ -6013,11 +6017,13 @@ print "\n"; | ||
| 6013 | not actually referenced and omits them from the output file. | 6017 | not actually referenced and omits them from the output file. |
| 6014 | This change can cause a significant reduction in the size of | 6018 | This change can cause a significant reduction in the size of |
| 6015 | split PDF files for files created by some software packages. | 6019 | split PDF files for files created by some software packages. |
| 6016 | - Prior versions of qpdf would believe the document metadata | ||
| 6017 | - and sometimes include all the images from all the other | ||
| 6018 | - pages even though the pages were no longer present. In the | ||
| 6019 | - unlikely event that the old behavior should be desired, it | ||
| 6020 | - can be enabled by specifying | 6020 | + In some cases, it can also make page splitting slower. Prior |
| 6021 | + versions of qpdf would believe the document metadata and | ||
| 6022 | + sometimes include all the images from all the other pages | ||
| 6023 | + even though the pages were no longer present. In the | ||
| 6024 | + unlikely event that the old behavior should be desired, or | ||
| 6025 | + if you have a case where page splitting is very slow, the | ||
| 6026 | + old behavior (and speed) can be enabled by specifying | ||
| 6021 | <option>--preserve-unreferenced-resources</option>. For | 6027 | <option>--preserve-unreferenced-resources</option>. For |
| 6022 | additional details, please see <xref | 6028 | additional details, please see <xref |
| 6023 | linkend="ref.advanced-transformation"/>. | 6029 | linkend="ref.advanced-transformation"/>. |