img2pdf: Lossless Image to PDF Conversion

JSON →
library 0.6.3 ·python
verified May 21, 2026

img2pdf is a Python library designed for lossless conversion of raster images to PDF. It excels at embedding JPEG and JPEG2000 files without re-encoding, preserving original quality and minimizing file size, treating PDF primarily as a container format. For other image formats, it uses lossless zip compression. The current version is 0.6.3, and the library maintains an active release cadence with regular updates.

total hits 12
actors 5 distinct systems
last hit 3d ago AhrefsBot
Script
3
GPTBot
2
Search engines
1

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇫🇷 France · 🇩🇪 Germany · 🇮🇳 India