diff options
author | Justin Gassner <justin.gassner@mailbox.org> | 2023-03-05 19:23:26 +0100 |
---|---|---|
committer | Justin Gassner <justin.gassner@mailbox.org> | 2024-02-29 13:35:29 +0100 |
commit | 296033668c8003421b1c5d10cf58a9a7f0ed57e4 (patch) | |
tree | c66875193864f2b96cc07b2efd4535ca2b82ff2d /include | |
parent | 3b97c9bd266b7c32ea36d3536e22dab77412886d (diff) | |
download | qpdf-zopfli.tar.zst |
Support and force zopfli compressionzopfli
Original patch developed by jarnoh [1] and ported by me.
[1] https://github.com/jarnoh/qpdf
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/Pl_Flate.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/qpdf/Pl_Flate.hh b/include/qpdf/Pl_Flate.hh index 41ae7e4a..325c84b6 100644 --- a/include/qpdf/Pl_Flate.hh +++ b/include/qpdf/Pl_Flate.hh @@ -90,6 +90,9 @@ class QPDF_DLL_CLASS Pl_Flate: public Pipeline std::function<void(char const*, int)> callback; }; + unsigned char* inbuf; /* additional buffer for zopfli input */ + size_t inbuf_size; + std::shared_ptr<Members> m; }; |