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:
parent
f0b57985ee
commit
c7db805dee
1 changed files with 2 additions and 2 deletions
|
@ -3308,10 +3308,10 @@ RGB.""",
|
||||||
outargs.add_argument(
|
outargs.add_argument(
|
||||||
"--pdfa",
|
"--pdfa",
|
||||||
nargs="?",
|
nargs="?",
|
||||||
const="/usr/share/color/icc/ghostscript/srgb.icc",
|
const="/usr/share/color/icc/sRGB.icc",
|
||||||
default=None,
|
default=None,
|
||||||
help="Output a PDF/A-1b complient document. By default, this will "
|
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(
|
sizeargs = parser.add_argument_group(
|
||||||
|
|
Loading…
Reference in a new issue