macOS
brew install img2pdflocal Homebrew formula metadata
sudo port install img2pdfMacPorts ports tree · graphics/img2pdf/Portfile · ソース: api.github.com
brew
img2pdf のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install img2pdflocal Homebrew formula metadata
sudo port install img2pdfMacPorts ports tree · graphics/img2pdf/Portfile · ソース: api.github.com
sudo apt install img2pdfDebian stable package indexes · img2pdf · ソース: deb.debian.org
nix profile install nixpkgs#img2pdfnixpkgs package indexes · img2pdf · ソース: raw.githubusercontent.com
sudo pacman -S img2pdfArch Linux sync databases · img2pdf · ソース: geo.mirror.pkgbuild.com
sudo zypper install python311-img2pdfopenSUSE Tumbleweed package metadata · python311-img2pdf · ソース: download.opensuse.org
概要
Convert images to PDF via direct JPEG inclusion
履歴
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.
セキュリティ状態
broad file, network, media, or database tool signal.
リスク blue · 信頼度 中 · tool
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
img2pdf | cli | グローバル実行可能ファイル | |
img2pdf-gui | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://gitlab.mister-muffin.de/josch/img2pdf
インストールメタデータ
| パッケージキー | brew:img2pdf |
|---|---|
| バージョン | 0.6.3 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/img2pdf |
| ホームページ | https://gitlab.mister-muffin.de/josch/img2pdf |
| リポジトリ | https://gitlab.mister-muffin.de/josch/img2pdf |
| 上流ドキュメント | https://gitlab.mister-muffin.de/josch/img2pdf |
| ライセンス | LGPL-3.0-or-later |
| ソースアーカイブ | https://files.pythonhosted.org/packages/8e/97/ca44c467131b93fda82d2a2f21b738c8bcf63b5259e3b8250e928b8dd52a/img2pdf-0.6.3.tar.gz |
| 最終更新 | 2026-04-22T13:09:58Z |
| Pulse | updated |
| 依存関係 | pillow, python@3.14, qpdf |
| macOS 提供ライブラリ | libxml2, libxslt |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 img2pdfソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.