- replace --without-pdfrw by --engine=internal or --engine=pdfrw
- add pikepdf as additional rendering engine and add --engine=pikepdf
- support for creating PDF/A-1b compliant PDF using the --pdfa option
(this also requires the presence of an ICC profile somewhere on the system)
- support for images with embedded ICC profile as input
- rewrite tests
* use pytest via tox
* use pikepdf instead of pdfrw
* use imagemagick json output instead of identify -verbose
- format all code with black
- fix tests for Fedora on arm64
- remove all Python 2 support
- disable pdfrw by default
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-img2pdf?expand=0&rev=19
- version update to 0.3.3
* restore basic support for Python 2
* also ship test.sh
* add legal and tabloid paper formats
* respect exif rotation tag
* support big endian TIFF with lsb-to-msb FillOrder
* support multipage CCITT Group 4 TIFF
* also reject palette images with transparency
* support PNG images with 1, 2, 4 or 16 bits per sample
* support multipage TIFF with differently encoded images
* support CCITT Group4 TIFF without rows-per-strip
* add extensive test suite
* Directly copy data from CCITT Group 4 encoded TIFF images into the PDF
container without re-encoding
* Store non-jpeg images using PNG compression
* Support arbitrarily large pages via PDF /UserUnit field
* Disallow input with alpha channel as it cannot be preserved
* Add option --pillow-limit-break to support very large input
OBS-URL: https://build.opensuse.org/request/show/689071
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-img2pdf?expand=0&rev=9