1
0
Fork 0
forked from josch/img2pdf

don't use /usr/share/color/icc/ghostscript/srgb.icc but /usr/share/color/icc/sRGB.icc because the former converts from sRGB to CIE LAB and PDF/A requires a profile from CIE LAB to sRGB (closes: #78)

This commit is contained in:
Johannes 'josch' Schauer 2020-08-07 00:20:18 +02:00
parent f0b57985ee
commit c7db805dee
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -3308,10 +3308,10 @@ RGB.""",
outargs.add_argument(
"--pdfa",
nargs="?",
const="/usr/share/color/icc/ghostscript/srgb.icc",
const="/usr/share/color/icc/sRGB.icc",
default=None,
help="Output a PDF/A-1b complient document. By default, this will "
"embed /usr/share/color/icc/ghostscript/srgb.icc as the color profile.",
"embed /usr/share/color/icc/sRGB.icc as the color profile.",
)
sizeargs = parser.add_argument_group(