Compare commits
No commits in common. "6ff175d637a3b5144915b2f7e2aff8d1781ff96b" and "50b7145f64b3722b07eefd400d7c17620dc6cbcc" have entirely different histories.
6ff175d637
...
50b7145f64
4 changed files with 55 additions and 57 deletions
2
setup.py
2
setup.py
|
@ -11,7 +11,7 @@ INSTALL_REQUIRES = (
|
|||
setup(
|
||||
name="img2pdf",
|
||||
version=VERSION,
|
||||
author="Johannes Schauer Marin Rodrigues",
|
||||
author="Johannes 'josch' Schauer",
|
||||
author_email="josch@mister-muffin.de",
|
||||
description="Convert images to PDF via direct JPEG inclusion.",
|
||||
long_description=open("README.md").read(),
|
||||
|
|
|
@ -3481,7 +3481,7 @@ Examples:
|
|||
|
||||
$ img2pdf --output out.pdf --colorspace L input.jp2
|
||||
|
||||
Written by Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
|
||||
Written by Johannes 'josch' Schauer <josch@mister-muffin.de>
|
||||
|
||||
Report bugs at https://gitlab.mister-muffin.de/josch/img2pdf/issues
|
||||
"""
|
||||
|
|
|
@ -20,8 +20,6 @@ import warnings
|
|||
import json
|
||||
import pathlib
|
||||
|
||||
img2pdfprog = os.getenv("img2pdfprog", default="src/img2pdf.py")
|
||||
|
||||
ICC_PROFILE = None
|
||||
ICC_PROFILE_PATHS = (
|
||||
# Debian
|
||||
|
@ -3916,7 +3914,7 @@ def jpg_pdf(tmp_path_factory, jpg_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("jpg_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -3943,7 +3941,7 @@ def jpg_rot_pdf(tmp_path_factory, jpg_rot_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("jpg_rot_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -3971,7 +3969,7 @@ def jpg_cmyk_pdf(tmp_path_factory, jpg_cmyk_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("jpg_cmyk_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4001,7 +3999,7 @@ def jpg_2000_pdf(tmp_path_factory, jpg_2000_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("jpg_2000_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4028,7 +4026,7 @@ def png_rgb8_pdf(tmp_path_factory, png_rgb8_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("png_rgb8_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4058,7 +4056,7 @@ def png_rgba8_pdf(tmp_path_factory, png_rgba8_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("png_rgba8_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4098,7 +4096,7 @@ def gif_transparent_pdf(tmp_path_factory, gif_transparent_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("gif_transparent_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4138,7 +4136,7 @@ def png_rgb16_pdf(tmp_path_factory, png_rgb16_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("png_rgb16_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4168,7 +4166,7 @@ def png_interlaced_pdf(tmp_path_factory, png_interlaced_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("png_interlaced_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4198,7 +4196,7 @@ def png_gray1_pdf(tmp_path_factory, tmp_gray1_png, request):
|
|||
out_pdf = tmp_path_factory.mktemp("png_gray1_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4228,7 +4226,7 @@ def png_gray2_pdf(tmp_path_factory, tmp_gray2_png, request):
|
|||
out_pdf = tmp_path_factory.mktemp("png_gray2_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4258,7 +4256,7 @@ def png_gray4_pdf(tmp_path_factory, tmp_gray4_png, request):
|
|||
out_pdf = tmp_path_factory.mktemp("png_gray4_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4288,7 +4286,7 @@ def png_gray8_pdf(tmp_path_factory, tmp_gray8_png, request):
|
|||
out_pdf = tmp_path_factory.mktemp("png_gray8_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4318,7 +4316,7 @@ def png_gray8a_pdf(tmp_path_factory, png_gray8a_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("png_gray8a_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4358,7 +4356,7 @@ def png_gray16_pdf(tmp_path_factory, tmp_gray16_png, request):
|
|||
out_pdf = tmp_path_factory.mktemp("png_gray16_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4388,7 +4386,7 @@ def png_palette1_pdf(tmp_path_factory, tmp_palette1_png, request):
|
|||
out_pdf = tmp_path_factory.mktemp("png_palette1_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4419,7 +4417,7 @@ def png_palette2_pdf(tmp_path_factory, tmp_palette2_png, request):
|
|||
out_pdf = tmp_path_factory.mktemp("png_palette2_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4450,7 +4448,7 @@ def png_palette4_pdf(tmp_path_factory, tmp_palette4_png, request):
|
|||
out_pdf = tmp_path_factory.mktemp("png_palette4_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4481,7 +4479,7 @@ def png_palette8_pdf(tmp_path_factory, tmp_palette8_png, request):
|
|||
out_pdf = tmp_path_factory.mktemp("png_palette8_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4512,7 +4510,7 @@ def png_icc_pdf(tmp_path_factory, tmp_icc_png, tmp_icc_profile, request):
|
|||
out_pdf = tmp_path_factory.mktemp("png_icc_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4548,7 +4546,7 @@ def gif_palette1_pdf(tmp_path_factory, gif_palette1_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("gif_palette1_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4579,7 +4577,7 @@ def gif_palette2_pdf(tmp_path_factory, gif_palette2_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("gif_palette2_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4610,7 +4608,7 @@ def gif_palette4_pdf(tmp_path_factory, gif_palette4_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("gif_palette4_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4641,7 +4639,7 @@ def gif_palette8_pdf(tmp_path_factory, gif_palette8_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("gif_palette8_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4673,7 +4671,7 @@ def gif_animation_pdf(tmp_path_factory, gif_animation_img, request):
|
|||
out_pdf = tmpdir / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4712,7 +4710,7 @@ def tiff_cmyk8_pdf(tmp_path_factory, tiff_cmyk8_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("tiff_cmyk8_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4739,7 +4737,7 @@ def tiff_rgb8_pdf(tmp_path_factory, tiff_rgb8_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("tiff_rgb8_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4769,7 +4767,7 @@ def tiff_gray1_pdf(tmp_path_factory, tiff_gray1_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("tiff_gray1_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4800,7 +4798,7 @@ def tiff_gray2_pdf(tmp_path_factory, tiff_gray2_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("tiff_gray2_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4830,7 +4828,7 @@ def tiff_gray4_pdf(tmp_path_factory, tiff_gray4_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("tiff_gray4_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4860,7 +4858,7 @@ def tiff_gray8_pdf(tmp_path_factory, tiff_gray8_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("tiff_gray8_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4891,7 +4889,7 @@ def tiff_multipage_pdf(tmp_path_factory, tiff_multipage_img, request):
|
|||
out_pdf = tmpdir / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4929,7 +4927,7 @@ def tiff_palette1_pdf(tmp_path_factory, tiff_palette1_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("tiff_palette1_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4960,7 +4958,7 @@ def tiff_palette2_pdf(tmp_path_factory, tiff_palette2_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("tiff_palette2_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -4991,7 +4989,7 @@ def tiff_palette4_pdf(tmp_path_factory, tiff_palette4_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("tiff_palette4_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -5022,7 +5020,7 @@ def tiff_palette8_pdf(tmp_path_factory, tiff_palette8_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("tiff_palette8_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -5055,7 +5053,7 @@ def tiff_ccitt_lsb_m2l_white_pdf(
|
|||
out_pdf = tmp_path_factory.mktemp("tiff_ccitt_lsb_m2l_white_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -5088,7 +5086,7 @@ def tiff_ccitt_msb_m2l_white_pdf(
|
|||
out_pdf = tmp_path_factory.mktemp("tiff_ccitt_msb_m2l_white_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -5121,7 +5119,7 @@ def tiff_ccitt_msb_l2m_white_pdf(
|
|||
out_pdf = tmp_path_factory.mktemp("tiff_ccitt_msb_l2m_white_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -5154,7 +5152,7 @@ def tiff_ccitt_lsb_m2l_black_pdf(
|
|||
out_pdf = tmp_path_factory.mktemp("tiff_ccitt_lsb_m2l_black_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -5185,7 +5183,7 @@ def tiff_ccitt_nometa1_pdf(tmp_path_factory, tiff_ccitt_nometa1_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("tiff_ccitt_nometa1_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -5216,7 +5214,7 @@ def tiff_ccitt_nometa2_pdf(tmp_path_factory, tiff_ccitt_nometa2_img, request):
|
|||
out_pdf = tmp_path_factory.mktemp("tiff_ccitt_nometa2_pdf") / "out.pdf"
|
||||
subprocess.check_call(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + request.param,
|
||||
|
@ -5375,7 +5373,7 @@ def test_png_rgba16(tmp_path_factory, png_rgba16_img, engine):
|
|||
0
|
||||
!= subprocess.run(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + engine,
|
||||
|
@ -5407,7 +5405,7 @@ def test_png_gray16a(tmp_path_factory, png_gray16a_img, engine):
|
|||
0
|
||||
!= subprocess.run(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + engine,
|
||||
|
@ -5647,7 +5645,7 @@ def test_tiff_float(tmp_path_factory, tiff_float_img, engine):
|
|||
0
|
||||
!= subprocess.run(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + engine,
|
||||
|
@ -5685,7 +5683,7 @@ def test_tiff_cmyk16(tmp_path_factory, tiff_cmyk16_img, engine):
|
|||
0
|
||||
!= subprocess.run(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + engine,
|
||||
|
@ -5721,7 +5719,7 @@ def test_tiff_rgb12(tmp_path_factory, tiff_rgb12_img, engine):
|
|||
0
|
||||
!= subprocess.run(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + engine,
|
||||
|
@ -5745,7 +5743,7 @@ def test_tiff_rgb14(tmp_path_factory, tiff_rgb14_img, engine):
|
|||
0
|
||||
!= subprocess.run(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + engine,
|
||||
|
@ -5769,7 +5767,7 @@ def test_tiff_rgb16(tmp_path_factory, tiff_rgb16_img, engine):
|
|||
0
|
||||
!= subprocess.run(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + engine,
|
||||
|
@ -5792,7 +5790,7 @@ def test_tiff_rgba8(tmp_path_factory, tiff_rgba8_img, engine):
|
|||
0
|
||||
!= subprocess.run(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + engine,
|
||||
|
@ -5815,7 +5813,7 @@ def test_tiff_rgba16(tmp_path_factory, tiff_rgba16_img, engine):
|
|||
0
|
||||
!= subprocess.run(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + engine,
|
||||
|
@ -5886,7 +5884,7 @@ def test_tiff_gray16(tmp_path_factory, tiff_gray16_img, engine):
|
|||
0
|
||||
!= subprocess.run(
|
||||
[
|
||||
img2pdfprog,
|
||||
"src/img2pdf.py",
|
||||
"--producer=",
|
||||
"--nodate",
|
||||
"--engine=" + engine,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
#
|
||||
# Copyright (C) 2013 Johannes Schauer Marin Rodrigues <j.schauer at email.de>
|
||||
# Copyright (C) 2013 Johannes 'josch' Schauer <j.schauer at email.de>
|
||||
#
|
||||
# this module is heavily based upon jpylyzer which is
|
||||
# KB / National Library of the Netherlands, Open Planets Foundation
|
||||
|
|
Loading…
Reference in a new issue