From d08d8c5be912f83097e4ef62e45b530a9705dd07 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Mon, 12 Apr 2021 06:21:29 +0200 Subject: [PATCH] src/img2pdf_test.py: compare icc images as non-exact --- src/img2pdf_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/img2pdf_test.py b/src/img2pdf_test.py index 2d9448d..fac47d4 100755 --- a/src/img2pdf_test.py +++ b/src/img2pdf_test.py @@ -5471,9 +5471,9 @@ def test_png_palette8(tmp_path_factory, png_palette8_img, png_palette8_pdf): ) def test_png_icc(tmp_path_factory, png_icc_img, png_icc_pdf): tmpdir = tmp_path_factory.mktemp("png_icc") - compare_ghostscript(tmpdir, png_icc_img, png_icc_pdf, icc=True) + compare_ghostscript(tmpdir, png_icc_img, png_icc_pdf, exact=False, icc=True) compare_poppler(tmpdir, png_icc_img, png_icc_pdf, exact=False, icc=True) - # mupdf ignores the ICC profile + # mupdf ignores the ICC profile in Debian (needs patched thirdparty liblcms2-art) compare_pdfimages_png(tmpdir, png_icc_img, png_icc_pdf, exact=False, icc=True)