Fix issue #163, color and grayscale images JPEG compressed when not needed

This commit is contained in:
James R. Barlow
2017-05-06 22:27:25 -07:00
parent 1464b9087a
commit 93e802f473
6 changed files with 47 additions and 2 deletions
+4
View File
@@ -77,6 +77,10 @@ def generate_pdfa(pdf_pages, output_file, log, threads=1):
"-dAutoRotatePages=/None",
"-sColorConversionStrategy=/RGB",
"-sProcessColorModel=DeviceRGB",
"-dAutoFilterColorImages=false",
"-sColorImageFilter=",
"-dAutoFilterGrayImages=false",
"-sGrayImageFilter=",
"-dJPEGQ=95",
"-dPDFA=2",
"-dPDFACompatibilityPolicy=1",