- no default ICC profile location for PDF/A-1b on Windows
- workaround for PNG input without dpi units but non-square dpi aspect ratio
- support MIFF for 16 bit CMYK input
- accept pathlib.Path objects as input
- don't store RGB ICC profiles from bilevel or grayscale TIFF, PNG and JPEG
- thumbnails are no longer included by default and --include-thumbnails has to be used if you want them
- support for pikepdf (>= 6.2.0)
- --viewer-page-layout support for twopageright and twopageleft
- Add B and JB paper sizes
- support for pikepdf (>= 5.0.0) and Pillow (>= 9.1.0)
- fix --viewer-initial-page (broken in last release)
- add --rotation
- allow palette PNG images with ICC profile
- sort globbing result on windows
- convert 8-bit PNG alpha channels to /SMasks in PDF
- remove pdfrw from tests
- support wildcards in paths on windows
- support MPO images
- fix page border computation
- use "img2pdf" logger instead of "root" logger
- add --from-file
- 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
- test.sh: replace imagemagick with custom python script to produce bit-by-bit identical results on all architectures
- add --crop-border, --bleed-border, --trim-border and --art-border options
- first draft of a rudimentary tkinter gui (run with --gui)
- 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
- Restore support for Python 2.7
- Add support for PyPy
- Add support for testing using tox
- version number bump for botched pypi upload...
- automatic monochrome CCITT Group4 encoding via Pillow/libtiff
- set img2pdf as /producer value
- support multi-frame images like multipage TIFF and animated GIF
- support for palette images like GIF
- support all colorspaces and imageformats known by PIL
- read horizontal and vertical dpi from JPEG2000 files
- now Python3 only
- pep8 compliant code
- update my email to [email protected]
- move from github to gitlab.mister-muffin.de/josch/img2pdf
- use logging module
- add extensive test suite
- ability to read from standard input
- pdf writer:
- make more compatible with the interface of pdfrw module
- print floats which equal to their integer conversion as integer
- do not print trailing zeroes for floating point numbers
- print more linebreaks
- add binary string at beginning of PDF to indicate that the PDF contains binary data
- handle datetime and unicode strings by using utf-16-be encoding
- new options (see --help for more details):
- --without-pdfrw
- --imgsize
- --border
- --fit
- --auto-orient
- --viewer-panes
- --viewer-initial-page
- --viewer-magnification
- --viewer-page-layout
- --viewer-fit-window
- --viewer-center-window
- --viewer-fullscreen
- remove short options for metadata command line arguments
- correctly encode and escape non-ascii metadata
- explicitly store date in UTC and allow parsing all date formats understood by dateutil and date --date
- Enable support for CMYK images
- Rework test suite
- support file objects as input
- add Python 3 support
- make output reproducible by sorting and --nodate option
- Avoid leaking file descriptors
- Convert unrecognized colorspaces to RGB
- allow running src/img2pdf.py standalone
- license change from GPL to LGPL
- Add pillow 2.4.0 support
- add options to specify pdf dimensions in points
- Initial PyPI release.
- Modified code to create proper package.
- Added tests.
- Added console script entry point.