From 296033668c8003421b1c5d10cf58a9a7f0ed57e4 Mon Sep 17 00:00:00 2001 From: Justin Gassner Date: Sun, 5 Mar 2023 19:23:26 +0100 Subject: Support and force zopfli compression Original patch developed by jarnoh [1] and ported by me. [1] https://github.com/jarnoh/qpdf --- include/qpdf/Pl_Flate.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 callback; }; + unsigned char* inbuf; /* additional buffer for zopfli input */ + size_t inbuf_size; + std::shared_ptr m; }; -- cgit v1.2.3-54-g00ecf