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)

main
parent f0b57985ee
commit c7db805dee
Signed by untrusted user: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -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(

Loading…
Cancel
Save