Johannes 'josch' Schauer
a53fed5d17
.travis.yml: really switch to focal
4 years ago
Johannes 'josch' Schauer
788102ee05
.travis.yml: use focal
4 years ago
Johannes 'josch' Schauer
d92790ad26
try ghostscript version shaningans
4 years ago
Johannes 'josch' Schauer
f0e7e8daaf
.travis.yml: try xenial
4 years ago
Johannes 'josch' Schauer
9bd41dba1e
src/img2pdf_test.py: check that psnr is not zero
4 years ago
Johannes 'josch' Schauer
6c742be642
src/img2pdf_test.py: cater for json output of imagemagick before 6.9.9.34
4 years ago
Johannes 'josch' Schauer
7ccd987d6d
.travis.yml: use bionic instead of xenial
4 years ago
Johannes 'josch' Schauer
c506cf0b8d
try to use json output instead of identify -verbose
4 years ago
Johannes 'josch' Schauer
fbb51d9083
tighten minimum imagemagick version for quantum:polarity=min-is-black
4 years ago
Johannes 'josch' Schauer
593aeb5d2d
appveyor.yml: install pyinstaller to create an exe
4 years ago
Johannes 'josch' Schauer
c62ed4d691
appveyor.yml: install wheel for bdist_wheel
4 years ago
Johannes 'josch' Schauer
2493af173c
tox.ini: also remove support for py34 (fails to compile pikepdf)
4 years ago
Johannes 'josch' Schauer
a39beb5c5e
tox.ini: remove jython and pypy
4 years ago
Johannes 'josch' Schauer
7a72c38c3d
appveyor.yml: run tox
4 years ago
Johannes 'josch' Schauer
1d5be0cc9d
src/img2pdf_test.py: also catch subprocess.CalledProcessError
4 years ago
Johannes 'josch' Schauer
e151ca27eb
src/img2pdf_test.py: skip tests on win32 and macos
4 years ago
Johannes 'josch' Schauer
7aed0ea0d0
src/img2pdf_test.py: fixes for Ubuntu Trusty
4 years ago
Johannes 'josch' Schauer
bed0b4cdae
src/img2pdf_test.py: check for mutool >= 1.10.0
4 years ago
Johannes 'josch' Schauer
53e991bec2
.travis.yml: add dependency on mupdf-tools
4 years ago
Johannes 'josch' Schauer
11f7db5003
src/img2pdf_test.py: explicitly convert PosixPath to str
4 years ago
Johannes 'josch' Schauer
000fc3b5ac
remove obsolete src/tests/__init__.py
4 years ago
Johannes 'josch' Schauer
78bd869b10
.travis.yml: install additional dependencies
4 years ago
Johannes 'josch' Schauer
0992832ab0
src/img2pdf_test.py: explicitly convert PosixPath to str
4 years ago
Johannes 'josch' Schauer
1d0e4c5272
.travis.yml: install imagemagick
4 years ago
Johannes 'josch' Schauer
bfd822b74e
.travis.yml: install tox
4 years ago
Johannes 'josch' Schauer
2c8e417c51
run tox on travis
4 years ago
Johannes 'josch' Schauer
66fd7cc765
rename test.py -> src/img2pdf_test.py
4 years ago
Johannes 'josch' Schauer
5b7f93bb9a
do not allow negative values in parse_num()
4 years ago
Johannes 'josch' Schauer
a2d846052e
document pytest in HACKING, tox.ini and .travis.yml
4 years ago
Johannes 'josch' Schauer
a84a1b8480
add test.py
4 years ago
Johannes 'josch' Schauer
663010ca61
src/img2pdf.py: tiny logic error
4 years ago
Johannes 'josch' Schauer
802dd4b1f3
magick.py: prevent floyd_steinberg() from modifying its input
4 years ago
Johannes 'josch' Schauer
93f65a49c9
add --pdfa argument to attach an icc profile for PDF/A-1b compliant output
4 years ago
James R. Barlow
bca3f802ac
Add support for pikepdf
4 years ago
Johannes 'josch' Schauer
65d9aed630
test.sh: compare uncompressed contents
4 years ago
Johannes 'josch' Schauer
791c9497ed
test.sh: remove leftover 'grep'
4 years ago
Johannes 'josch' Schauer
1cd2674a2c
src/tests/__init__.py: recursively convert both PDFs into Python data structures and then compare for equality -- this allows comparing PDFs in which streams are compressed differently
4 years ago
Johannes 'josch' Schauer
f4b296cef3
src/tests/__init__.py: make path OS agnostic (slash vs backslash)
4 years ago
Johannes 'josch' Schauer
5c7ffb09a1
src/tests/__init__.py: add support for engine instead of with_pdfrw
4 years ago
Johannes 'josch' Schauer
7b58c4e58d
add pikepdf to test dependencies
4 years ago
James R. Barlow
c6d04acc4b
test.sh: account for variations in output of identify --verbose
4 years ago
James R. Barlow
c49a098e7b
test.sh: improve portability on macOS and BSD
4 years ago
Johannes 'josch' Schauer
e4dece1c9f
replace --without-pdfrw by --engine=internal or --engine=pdfrw
4 years ago
Johannes 'josch' Schauer
997fe8efd8
src/tests/__init__.py: use pikepdf instead of pdfrw
4 years ago
Johannes 'josch' Schauer
c808061b4b
test.sh: use pikepdf instead of grep to check PDF
...
- no requirement on layout chosen by PDF engine anymore, thus we can
test any pdf writer with this
- check value at full path instead of anywhere in the document, thus no
possible false positives if expected value was present in a different
object
- allows adding additional checks where we couldn't use grep before
(multipage pdf created by pdfseparate)
4 years ago
Johannes 'josch' Schauer
17dd59e722
README.md: clarify PDF transparency ( closes : #76 )
4 years ago
Johannes 'josch' Schauer
60fa588cfb
release version 0.3.6
4 years ago
Johannes 'josch' Schauer
559d42cd4a
magick.py: use our own deflate algo for bit-by-bit reproducible output independent of the compressor used
4 years ago
Johannes 'josch' Schauer
6da2bc3aee
release version 0.3.5
4 years ago
Johannes 'josch' Schauer
9d184ad0cd
test.sh: adjust for imagemagick 6.9.10.86 in fedora
4 years ago