[poppler] [PATCH] Add -jpegopt optimize option support to utils

Albert Astals Cid aacid at kde.org
Wed Jun 13 21:20:14 UTC 2018


You probably need to update the manpages of both utils to include that?

Cheers,
  Albert

El dissabte, 9 de juny de 2018, a les 19:36:47 CEST, Martin (gzlist) va 
escriure:
> 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(+)






More information about the poppler mailing list