[poppler] [PATCH] Add -jpegopt optimize option support to utils
Martin (gzlist)
gzlist at googlemail.com
Sat Jun 9 17:36:47 UTC 2018
New option 'optimize=y' for utils that take a -jpegopt param,
pdftocairo and pdftoppm. This corresponds to the cjpeg -optimize
flag, and slightly reduces the size of the output jpeg but uses
additional cpu and memory.
New jpegOptimize boolean in splash/SplashBitmap WriteImgParams.
New setOptimize method on goo/JpegWriter taking a boolean.
Signed-off-by: Martin Packman <gzlist at googlemail.com>
---
goo/JpegWriter.cc | 11 +++++++++++
goo/JpegWriter.h | 1 +
splash/SplashBitmap.cc | 1 +
splash/SplashBitmap.h | 1 +
utils/pdftocairo.cc | 10 ++++++++++
utils/pdftoppm.cc | 10 ++++++++++
6 files changed, 34 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-jpegopt-optimize-option-support-to-utils.patch
Type: text/x-patch
Size: 5443 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20180609/0335c1c8/attachment.bin>
More information about the poppler
mailing list