# spatie/pdf-to-image

> PHP class that converts PDF pages into images with Imagick and Ghostscript

Navigation: [Media & Entertainment](category/media.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/spatie/pdf-to-image
- HTML: https://awesomeopensource.dev/project/spatie-pdf-to-image
- Website: https://murze.be/2015/07/convert-a-pdf-to-an-image-using-php/
- License: MIT
- Language: PHP
- stars: 1461
- Topics: convert, ghostscript, image, imagick, pdf, php
- Activity score: 4.1/5 (Active)
- Last commit (any branch): 2026-11-05
- Last release: 3.5.0 2026-09-08

## Description

spatie/pdf-to-image provides a small PHP class that renders a PDF page into an image, with control over resolution, page number and output format. It relies on installed Imagick and Ghostscript, documents the usual Ghostscript policy and Imagick problems, and requires PHP 8.2 or newer for the current version. The package installs from Packagist as spatie/pdf-to-image under the MIT licence.

## Maintenance activity

- Recency: 94% (weight 40%) — last commit: 8 days ago
- Commit volume: 56% (weight 25%)
- Releases: 80% (weight 25%) — last release: 66 days ago
- Bug fixes: 48% (weight 10%)
- Commits: 5 / 90d, 19 / 365d

## Similar projects

- [videojs/video.js](videojs-video-js.md): Media player framework for the web and React, with skins and HLS playback. · Activity score 5.0/5 (Thriving)
- [CapSoftware/Cap](capsoftware-cap.md): Open source Loom alternative for shareable screen recordings with local editing. · Activity score 5.0/5 (Thriving)
- [livekit/livekit](livekit-livekit.md): Scalable WebRTC SFU for voice, video and AI agents, with SDKs and egress. · Activity score 5.0/5 (Thriving)
- [Chocobozzz/PeerTube](chocobozzz-peertube.md): Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular. · Activity score 5.0/5 (Thriving)
- [Stremio/stremio-web](stremio-stremio-web.md): Web interface for the Stremio media center with addon catalogs, casting and subtitles · Activity score 5.0/5 (Thriving)
- [streamlink/streamlink](streamlink-streamlink.md): Command-line tool that pipes streams from video services into a local player · Activity score 5.0/5 (Thriving)
