macOS
brew install img2pdflocal Homebrew formula metadata
sudo port install img2pdfMacPorts ports tree · graphics/img2pdf/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für img2pdf in AI-Agent-Workflows.
Installation
brew install img2pdflocal Homebrew formula metadata
sudo port install img2pdfMacPorts ports tree · graphics/img2pdf/Portfile · Quelle: api.github.com
sudo apt install img2pdfDebian stable package indexes · img2pdf · Quelle: deb.debian.org
nix profile install nixpkgs#img2pdfnixpkgs package indexes · img2pdf · Quelle: raw.githubusercontent.com
sudo pacman -S img2pdfArch Linux sync databases · img2pdf · Quelle: geo.mirror.pkgbuild.com
sudo zypper install python311-img2pdfopenSUSE Tumbleweed package metadata · python311-img2pdf · Quelle: download.opensuse.org
Überblick
Convert images to PDF via direct JPEG inclusion
Verlauf
img2pdf is a Python CLI and library for lossless conversion of raster images into PDF. Its central trick is treating PDF as a container for image data whenever possible, avoiding the re-encoding that makes many image-to-PDF workflows slower, larger, or lossy.
The changelog records an initial 0.1.0 packaging entry in March 2014, followed by public PyPI uploads beginning in 2014. The project moved from GitHub to gitlab.mister-muffin.de in the 0.2.0 development line documented in 2015.
The README frames img2pdf around three priorities: always lossless, small output, and fast conversion. It directly contrasts that with conventional conversion tools such as ImageMagick, which may re-encode images, inflate output, or consume more CPU and memory.
Over time the project added Python 3 support, reproducible output options, multipage and palette image handling, CCITT Group 4 TIFF direct copying, PDF/A-1b output, pikepdf support, pathlib input, JBIG2 support, and a minimal tkinter GUI.
img2pdf spread through both Python and operating-system package channels. Its README documents pip installation, source installation, Debian and Ubuntu repository installation, and Windows executables from the project's release page.
Homebrew formula metadata shows bottled distribution for the CLI on macOS and Linux. PyPI metadata supplies the Python-library distribution path, making img2pdf useful both in scripts and as a dependency inside larger document-processing programs.
At the command line, users pass one or more image files and write a PDF with -o, or stream a single image from standard input to standard output. The README includes a SANE scanimage pipeline that turns a scan directly into a PDF.
As a library, callers use img2pdf.convert with filenames, file handles, pathlib paths, globs, or in-memory image data. Options cover page layout, DPI, rotation handling, and PDF/A output.
img2pdf is package-nerd significant because it solves a common automation problem with a precise format insight: for JPEG, JPEG2000, suitable PNG, CCITT Group 4 TIFF, and JBIG2 cases, the best conversion is often not conversion at all, but direct embedding.
That makes it a favorite kind of small package: easy to install, easy to shell-script, and technically sharper than larger generic image suites for its particular job.
Sicherheitslage
broad file, network, media, or database tool signal.
blue Risiko · mittel Konfidenz · tool
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
img2pdf | cli | globales Executable | |
img2pdf-gui | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://gitlab.mister-muffin.de/josch/img2pdf
Installationsmetadaten
| Paketschlüssel | brew:img2pdf |
|---|---|
| Version | 0.6.3 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/img2pdf |
| Homepage | https://gitlab.mister-muffin.de/josch/img2pdf |
| Repository | https://gitlab.mister-muffin.de/josch/img2pdf |
| Upstream-Dokumentation | https://gitlab.mister-muffin.de/josch/img2pdf |
| Lizenz | LGPL-3.0-or-later |
| Quellarchiv | https://files.pythonhosted.org/packages/8e/97/ca44c467131b93fda82d2a2f21b738c8bcf63b5259e3b8250e928b8dd52a/img2pdf-0.6.3.tar.gz |
| Zuletzt aktualisiert | 2026-04-22T13:09:58Z |
| Pulse | updated |
| Abhängigkeiten | pillow, python@3.14, qpdf |
| Von macOS bereitgestellte Bibliotheken | libxml2, libxslt |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | img2pdf |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
img2pdf 0.6.1-1
Lossless conversion of raster images to PDF
https://gitlab.mister-muffin.de/josch/img2pdf
sudo apt install img2pdfpython3-img2pdf 0.6.1-1
Lossless conversion of raster images to PDF (library)
https://gitlab.mister-muffin.de/josch/img2pdf
sudo apt install python3-img2pdfimg2pdf
nix profile install nixpkgs#img2pdfimg2pdf 0.5.1-1
Lossless conversion of raster images to PDF
https://gitlab.mister-muffin.de/josch/img2pdf
sudo apt install img2pdfpython3-img2pdf 0.5.1-1
Lossless conversion of raster images to PDF (library)
https://gitlab.mister-muffin.de/josch/img2pdf
sudo apt install python3-img2pdfimg2pdf 0.6.3-1
Losslessly convert raster images to PDF
https://gitlab.mister-muffin.de/josch/img2pdf
sudo pacman -S img2pdfpython311-img2pdf 0.6.3-2.1
Python module for converting images to PDF via direct JPEG inclusion
https://gitlab.mister-muffin.de/josch/img2pdf
sudo zypper install python311-img2pdfpython313-img2pdf 0.6.3-2.1
Python module for converting images to PDF via direct JPEG inclusion
https://gitlab.mister-muffin.de/josch/img2pdf
sudo zypper install python313-img2pdfpython314-img2pdf 0.6.3-2.1
Python module for converting images to PDF via direct JPEG inclusion
https://gitlab.mister-muffin.de/josch/img2pdf
sudo zypper install python314-img2pdfimg2pdf
sudo port install img2pdfQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.