🍺 BREW Explorer

← all formulae

img2pdf

brew install img2pdf v0.6.3_1 LGPL-3.0-or-later

Python tool to convert images to PDF with lossless JPEG embedding and minimal file size.

Why you might care

Preserves original JPEG data without re-encoding, resulting in smaller PDFs than ImageMagick or ghostscript. Useful for scanning workflows or batch image-to-PDF conversion where quality and file size matter. Handles rotation and multi-image documents.

Categories

Alternatives

imagemagick ghostscript libreoffice
1.9k
30-day installs · #1006
6.2k
90-day · #1002
17.0k
365-day · #1143

Runtime dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "imagemagick",
    "ghostscript",
    "libreoffice"
  ],
  "build_dependencies": [],
  "categories": [
    "conversion",
    "image-tool",
    "pdf-tool"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "pillow",
    "python@3.14",
    "qpdf"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Convert images to PDF via direct JPEG inclusion",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:49+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "img2pdf",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://gitlab.mister-muffin.de/josch/img2pdf",
  "homepage_og_description": null,
  "homepage_og_image": "https://gitlab.mister-muffin.de/josch/img2pdf/-/summary-card",
  "homepage_title": "josch/img2pdf - Muffin Gitea",
  "installs_30d": 1857,
  "installs_365d": 17000,
  "installs_90d": 6195,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "LGPL-3.0-or-later",
  "llm_generated_at": "2026-06-20T23:48:26+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "img2pdf",
  "oldnames": [],
  "one_liner": "Python tool to convert images to PDF with lossless JPEG embedding and minimal file size.",
  "optional_dependencies": [],
  "rank_30d": 1006,
  "rank_365d": 1143,
  "rank_90d": 1002,
  "raw_hash": "332eedd04c5e6169",
  "recommended_dependencies": [],
  "revision": 1,
  "ruby_source_path": "Formula/i/img2pdf.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    "libxml2",
    "libxslt"
  ],
  "version_head": null,
  "version_stable": "0.6.3",
  "versioned_formulae": [],
  "why_use_this": "Preserves original JPEG data without re-encoding, resulting in smaller PDFs than ImageMagick or ghostscript. Useful for scanning workflows or batch image-to-PDF conversion where quality and file size matter. Handles rotation and multi-image documents."
}