From d92790ad2664cef4c8b4066ce4ea8522975432ba Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Wed, 5 Aug 2020 00:10:00 +0200 Subject: [PATCH] try ghostscript version shaningans --- .travis.yml | 4 ++-- src/img2pdf_test.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5f03ba8..5318a5d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,8 @@ language: python matrix: include: - - name: "Ubuntu Xenial" - dist: xenial + - name: "Ubuntu Bionic" + dist: bionic addons: apt: packages: diff --git a/src/img2pdf_test.py b/src/img2pdf_test.py index 02b797a..a49c208 100644 --- a/src/img2pdf_test.py +++ b/src/img2pdf_test.py @@ -4046,7 +4046,7 @@ def test_tiff_float(tmp_path_factory, tiff_float_img, engine): def test_tiff_cmyk8(tmp_path_factory, tiff_cmyk8_img, tiff_cmyk8_pdf): tmpdir = tmp_path_factory.mktemp("tiff_cmyk8") compare_ghostscript( - tmpdir, tiff_cmyk8_img, tiff_cmyk8_pdf, gsdevice="tiff32nc", exact=False + tmpdir, tiff_cmyk8_img, tiff_cmyk8_pdf, gsdevice="tiff32nc", exact=True ) # not testing with poppler as it cannot write CMYK images compare_mupdf(tmpdir, tiff_cmyk8_img, tiff_cmyk8_pdf, exact=False, cmyk=True) @@ -4477,7 +4477,7 @@ def test_tiff_ccitt_nometa2( ): tmpdir = tmp_path_factory.mktemp("tiff_ccitt_nometa2") compare_ghostscript( - tmpdir, tiff_ccitt_nometa2_img, tiff_ccitt_nometa2_pdf, gsdevice="pnggray" + tmpdir, tiff_ccitt_nometa2_img, tiff_ccitt_nometa2_pdf, gsdevice="pnggray", exact=False ) compare_poppler(tmpdir, tiff_ccitt_nometa2_img, tiff_ccitt_nometa2_pdf) compare_mupdf(tmpdir, tiff_ccitt_nometa2_img, tiff_ccitt_nometa2_pdf)