From c7db805dee604e7a40aa9db30816fa32a107b2f9 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Fri, 7 Aug 2020 00:20:18 +0200 Subject: [PATCH] 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) --- src/img2pdf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/img2pdf.py b/src/img2pdf.py index 690e531..fd1c8b0 100755 --- a/src/img2pdf.py +++ b/src/img2pdf.py @@ -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(