diff --git a/libqpdf/QPDFJob.cc b/libqpdf/QPDFJob.cc index 81bded8..10d8b5f 100644 --- a/libqpdf/QPDFJob.cc +++ b/libqpdf/QPDFJob.cc @@ -796,8 +796,6 @@ QPDFJob::doCheck(QPDF& pdf) // Disable compression of streams, since we only need to confirm we can decode them. This // avoids JPEG DCT -> Flate recompression of all images. w.setCompressStreams(false); - // Also disable recompression of Flate streams since are only checking. - w.setRecompressFlate(false); w.write(); // Parse all content streams