diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-08-24 01:59:38 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-08-24 02:34:21 +0200 |
commit | 2794bfb1a665cad93a38144bea0ba0daea7152e7 (patch) | |
tree | e83256473254f4935de0477d784a2123a7828d27 /ChangeLog | |
parent | dac0598b94c877bec92a1edd78ae00021cfa1638 (diff) | |
download | qpdf-2794bfb1a665cad93a38144bea0ba0daea7152e7.tar.zst |
Add flags to control zlib compression level (fixes #113)
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,8 +1,22 @@ 2019-08-23 Jay Berkenbilt <ejb@ql.org> + * Add --recompress-streams option to qpdf and + QPDFWriter::setRecompressFlate to cause QPDFWriter to recompress + streams that are already compressed with /FlateDecode. + * Add option Pl_Flate::setCompressionLevel to globally set the zlib compression level used by all Pl_Flate pipelines. + * Add --compression-level flag to qpdf to set the zlib compression + level. When combined with --recompress-flate, this will cause most + of qpdf's streams to use the maximum compression level. This + results in only a very small amount of savings in size that comes + at a fairly significant performance cost, but it could be useful + for archival files or other cases where every byte counts and + creation time doesn't matter so much. Note that using + --object-streams=generate in combination with these options gives + you the biggest advantage. Fixes #113. + 2019-08-22 Jay Berkenbilt <ejb@ql.org> * In QPDFObjectHandle::ParserCallbacks, in addition to |