Automic VaultAutomic Vault

brew

img2pdf を Homebrew, apt, MacPorts, Nix, pacman, zypper でインストール

img2pdf のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install img2pdf

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install img2pdf

MacPorts ports tree · graphics/img2pdf/Portfile · ソース: api.github.com

Linux

Debian apt確認済み · 92%
sudo apt install img2pdf

Debian stable package indexes · img2pdf · ソース: deb.debian.org

Nix確認済み · 92%
nix profile install nixpkgs#img2pdf

nixpkgs package indexes · img2pdf · ソース: raw.githubusercontent.com

Arch Linux pacman確認済み · 92%
sudo pacman -S img2pdf

Arch Linux sync databases · img2pdf · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install python311-img2pdf

openSUSE Tumbleweed package metadata · python311-img2pdf · ソース: download.opensuse.org

概要

パッケージ概要

Convert images to PDF via direct JPEG inclusion

コマンドとエイリアス

  • img2pdf
  • img2pdf-gui

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2014: 0.1.0 records the initial PyPI packaging work; 0.1.1 changes the license from GPL to LGPL.
  • 2015: 0.2.0 moves the project to gitlab.mister-muffin.de and adds a larger test suite and standard-input support.
  • 2018: 0.3.1 directly copies CCITT Group 4 TIFF images into PDF containers.
  • 2020: 0.4.0 adds PDF/A-1b support, pikepdf support, ICC profile handling, and a rewritten test suite.
  • 2023: 0.5.0 changes thumbnail behavior and accepts pathlib.Path objects as input.
  • 2025: 0.6.0 adds JBIG2 support; 0.6.3 adds pyproject.toml and merges the jp2 module.

Related projects

  • Pillow supplies image metadata and fallback conversion support.
  • pikepdf is an optional PDF engine used in newer img2pdf releases.
  • ImageMagick is the comparison point named by the README for conventional image-to-PDF conversion.
  • SANE scanimage is shown in the README as part of a scanner-to-PDF pipeline.

セキュリティ状態

リスクレベル: blue

broad file, network, media, or database tool signal.

リスク分類器

リスク blue · 信頼度 中 · tool

理由

  • broad file, network, media, or database tool signal

信号

  • text:image

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 3 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
img2pdfcliグローバル実行可能ファイル
img2pdf-guicliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版0.6.3
マネージャ更新日2026-04-22
ローカルデータOK
上流not checked
検出された最新未検出

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
Pulseupdated
依存関係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 DatabaseHomebrew formula API
Taphomebrew/core
Full Nameimg2pdf
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

img2pdf 0.6.1-1

Lossless conversion of raster images to PDF

https://gitlab.mister-muffin.de/josch/img2pdf

sudo apt install img2pdf
  • Section: utils
  • Architecture: all
  • 2 依存関係
  • normalized package name match
  • 一致条件: Img2pdf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: img2pdf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-img2pdf 0.6.1-1

Lossless conversion of raster images to PDF (library)

https://gitlab.mister-muffin.de/josch/img2pdf

sudo apt install python3-img2pdf
  • Section: python
  • Architecture: all
  • Source Package: img2pdf
  • 3 依存関係
  • normalized package name match
  • 一致条件: Img2pdf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-img2pdf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

img2pdf

nix profile install nixpkgs#img2pdf
  • normalized package name match
  • 一致条件: Img2pdf
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: img2pdf from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

img2pdf 0.5.1-1

Lossless conversion of raster images to PDF

https://gitlab.mister-muffin.de/josch/img2pdf

sudo apt install img2pdf
  • Section: universe/utils
  • Architecture: all
  • 3 依存関係
  • normalized package name match
  • 一致条件: Img2pdf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: img2pdf from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-img2pdf 0.5.1-1

Lossless conversion of raster images to PDF (library)

https://gitlab.mister-muffin.de/josch/img2pdf

sudo apt install python3-img2pdf
  • Section: universe/python
  • Architecture: all
  • Source Package: img2pdf
  • 3 依存関係
  • normalized package name match
  • 一致条件: Img2pdf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-img2pdf from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

img2pdf 0.6.3-1

Losslessly convert raster images to PDF

https://gitlab.mister-muffin.de/josch/img2pdf

sudo pacman -S img2pdf
  • License: LGPL3
  • Architecture: any
  • 2 依存関係
  • normalized package name match
  • 一致条件: Img2pdf
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: img2pdf from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

python311-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-img2pdf
  • License: LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: img2pdf
  • 6 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Img2pdf
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: python311-img2pdf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

python313-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-img2pdf
  • License: LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: img2pdf
  • 6 依存関係
  • 5 提供
  • normalized package name match
  • 一致条件: Img2pdf
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: python313-img2pdf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

python314-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-img2pdf
  • License: LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: img2pdf
  • 6 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Img2pdf
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: python314-img2pdf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

img2pdf

sudo port install img2pdf
  • normalized package name match
  • 一致条件: Img2pdf
MacPorts ports tree · api.github.com · MacPorts ports tree: graphics/img2pdf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment