diff options
author | Andre de la Rocha <andre.rocha@qt.io> | 2018-09-07 19:16:23 +0200 |
---|---|---|
committer | Andre de la Rocha <andre.rocha@qt.io> | 2018-10-25 22:03:23 +0000 |
commit | 9cd527bc1f384926985d63c741641316a66f17a4 (patch) | |
tree | bead94ef8e91053650bdb93e87940bd16b8a0022 /src/corelib/kernel/qcoreapplication.cpp | |
parent | 5ea233ca6782eb27adf596515cb66ef3dadc1d5e (diff) |
Add support for generating PDFs with losslessly encoded images
This patch adds the QPainter::LosslessImageRendering flag to
QPainter::RenderHints and allows QPdfEngine to recognize it and encode
images using a lossless data compression algorithm provided by zlib
instead of using lossy JPEG compression, which can produce artifacts
with some images.
Task-number: QTBUG-54809
Change-Id: If9e2bc64da3bf3afcd5d6c74f0ee82336ef05a19
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/kernel/qcoreapplication.cpp')
0 files changed, 0 insertions, 0 deletions