mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-23 15:18:33 +00:00
Improve pclm parameter settings
This commit is contained in:
parent
8ab52fa558
commit
198856a825
@ -2307,7 +2307,8 @@ QPDFWriter::write()
|
||||
|
||||
if (this->pclm)
|
||||
{
|
||||
setStreamDataMode(qpdf_s_preserve);
|
||||
this->stream_decode_level = qpdf_dl_none;
|
||||
this->compress_streams = false;
|
||||
this->encrypted = false;
|
||||
}
|
||||
|
||||
@ -2334,6 +2335,7 @@ QPDFWriter::write()
|
||||
}
|
||||
else if (this->normalize_content ||
|
||||
this->stream_decode_level ||
|
||||
this->pclm ||
|
||||
this->qdf_mode)
|
||||
{
|
||||
// Encryption makes looking at contents pretty useless. If
|
||||
|
Loading…
x
Reference in New Issue
Block a user