# Belval/pdf2image

A python module that wraps the pdftoppm utility to convert PDF to PIL Image object

Repository: https://github.com/Belval/pdf2image
Canonical: https://ross.abutalabs.com/products/pdf2image
Language: Python
License: MIT
License Family: permissive
Topics: pdf, pil, pil-image, convert, poppler
Last push: 2024-07-23T13:52:58+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3384, "days_push": 771, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1982, forks 208 (observed 2026-08-28T04:06:01.860289+00:00)

## What it is
A Python module that wraps the pdftoppm and pdftocairo command-line utilities (from Poppler) to convert PDF pages into PIL Image objects. It supports converting from file paths or bytes with options for DPI, page ranges, output formats, and threading.

## Use cases
- convert pdf pages to images in python
- render pdf to png or jpeg thumbnails
- extract images from pdf documents
- turn scanned pdfs into image files for ocr
- convert pdf to pil image objects

## When to choose
- you need PDF pages as PIL images in a Python pipeline
- you want a thin, reliable wrapper around Poppler's rendering tools
- you need control over DPI, page ranges, and output formats

## When to avoid
- you cannot install Poppler on the target system
- you need pure-Python PDF parsing without external binaries
- you need to extract text rather than render images

## Facets
- artifact type: library
- maturity: stable
- function: pdf, image-processing, parser
- domain: pdf, files, developer-tools
- platform: python, windows, cross-platform
- tags: pdf-to-image, poppler, pil, pdftoppm, wrapper, linux, macos

## Member repositories
- Belval/pdf2image (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:01.860289+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:03:31.839194+00:00, confidence not recorded.
  - readme: https://github.com/Belval/pdf2image (fetched 2026-08-28T04:06:01.860289+00:00, sha 57927367835c)
  - registry_pypi: https://pypi.org/pypi/pdf2image/json (fetched 2026-08-29T10:43:12.923115+00:00, sha 7ca8fcb3a6d3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
