diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-02-08 17:27:38 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-02-08 18:34:14 +0100 |
commit | f91b21c7d4e99d32be8e0a180821af17c8150140 (patch) | |
tree | d24c3ba91a681bad947d93365121626b880cba3b /ChangeLog | |
parent | cfd5147d922ee4e29e10f116dfca79325398a6db (diff) | |
download | qpdf-f91b21c7d4e99d32be8e0a180821af17c8150140.tar.zst |
Preserve input PDF version on pages/split-pages (fixes #610)
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,11 +1,22 @@ 2022-02-08 Jay Berkenbilt <ejb@ql.org> + * Bug fix: when splitting pages with --split-pages or selecting + pages with --pages, set the output PDF version to the maximum of + all the input PDF versions. This is a fix to QPDFJob. If you are + creating output PDF files yourself from multiple inputs, you will + need to code the same thing. The new PDFVersion object, its + updateIfGreater() method, and the new QPDF and QPDFWriter methods + described below make this very easy to do. Fixes #610. + * Add new class PDFVersion for more convenient comparison of PDF version numbers from the %!PDF header. * Add QPDF::getVersionAsPDFVersion() to return the PDF version and extension together as a PDFVersion object instead of a string. + * Add a QPDFWriter::setMinimumPDFVersion() that takes a PDFVersion + object. + 2022-02-06 Jay Berkenbilt <ejb@ql.org> * Pl_Buffer and QPDFWriter: add getBufferSharedPointer(), which |