NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2562 most downloaded on PyPI
Lossless conversion of raster images to PDF.
Last release 11 months ago
05 Nov 2025
Release timing varies
gaps range from 2 weeks to 1.6 years
Nearly every release is documented
notes for 24 of 26 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
26 releases · first in 2014
- add pyproject.toml - merge jp2 module into img2pdf
add pyproject.toml
merge jp2 module into img2pdf
Add support for TIFF images with alpha channel
Add support for TIFF images with alpha channel
Avoid division by zero aspect ratio
One column per quarter.
- testsuite fixes
testsuite fixes
Add support for JBIG2 (generic coding)
Add support for JBIG2 (generic coding)
Add convert_to_docobject() broken out from convert()
Add pil_get_dpi() broken out from get_imgmetadata()
no default ICC profile location for PDF/A-1b on Windows
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
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
--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)
fix --viewer-initial-page (broken in last release)
allow palette PNG images with ICC profile
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 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
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
fix tests for Fedora on arm64
- remove all Python 2 support - disable pdfrw by default
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
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
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 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
container without re-encoding
Store non-jpeg images using PNG compression
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
Add support for testing using tox
Restore support for Python 2.7
Add support for PyPy
Add support for testing using tox
version number bump for botched pypi upload...
version number bump for botched pypi upload...
support multi-frame images like multipage TIFF and animated GIF
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
Nothing published for this version
- Enable support for CMYK images - Rework test suite - support file objects as input
Enable support for CMYK images
Rework test suite
support file objects as input
make output reproducible by sorting and --nodate option
add Python 3 support
make output reproducible by sorting and --nodate option
Convert unrecognized colorspaces to RGB
Avoid leaking file descriptors
Convert unrecognized colorspaces to RGB
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →