NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #1009 most downloaded on Packagist
Convert a pdf to an image
Last release 1 months ago
08 Sep 2026
Release timing varies
gaps range from 5 weeks to 2.0 years
Nearly every release is documented
notes for 36 of 37 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
37 releases · first in 2015
Throw a clear exception for passwords ImageMagick cannot pass on to Ghostscript by @freekmurze in #270
Full Changelog: 3.4.0...3.5.0
Full Changelog: https://github.com/spatie/pdf-to-image/compare/3.4.0...3.5.0
Add support for password-protected PDFs by @freekmurze in #268
One column per quarter.
Full Changelog: 3.3.0...3.4.0
Full Changelog: https://github.com/spatie/pdf-to-image/compare/3.3.0...3.4.0
Bump dependabot/fetch-metadata from 2 to 3 by @dependabot [bot] in #260
Full Changelog: 3.2.0...3.3.0
Full Changelog: https://github.com/spatie/pdf-to-image/compare/3.2.0...3.3.0
Update README.md by @danielrona in #240
Full Changelog: 3.1.0...3.2.0
Full Changelog: https://github.com/spatie/pdf-to-image/compare/3.1.0...3.2.0
Add background color setting for the output image by @waithawoo in #239
Full Changelog: 3.0.0...3.1.0
Full Changelog: https://github.com/spatie/pdf-to-image/compare/3.0.0...3.1.0
This release updates the package to a new major version, v3.0.0 .
This release updates the package to a new major version, v3.0.0.
selectPages().readImage() with pingImage() (test suite runs ~33% faster).There are breaking API changes from v2 to v3. These changes streamline the developer experience, enhance understanding of the functionality of the methods, and reduce cognitive overload by simplifying method names. See the updated README.md for a full list of the new API methods and method names.
php-cs-fixer configuration and workflow was dropped in favor of Laravel Pint.Full Changelog: 2.3.0...3.0.0
Silently ignore pingImage failure and load number of pages lazily by @bobvandevijver in #187
Full Changelog: 2.2.0...2.3.0
Full Changelog: https://github.com/spatie/pdf-to-image/compare/2.2.0...2.3.0
Converting PHPUnit to Pest tests by @ntaylor-86 in #189
Full Changelog: 2.1.0...2.2.0
add support for PHP 8
add usage of Imagick pingImage to speedup the page count
pingImage to speedup the page countremoval of ability of loading pdfs via URLs
add exception message to PdfDoesNotExist
PdfDoesNotExistthrow exception when trying to fetch a negative page number
add method getOutputFormat and update saveImage for auto set filename
- make imagick public
imagick publicfix bug around setCompressionQuality
setCompressionQuality- add setCompressionQuality
setCompressionQuality- add setColorspace
setColorspace- fix remote pdf handling
- fix flattening of pdf
fix where getNumberOfPages would report the wrong number when looping through the pdf
getNumberOfPages would report the wrong number when looping through the pdf- fix bugs introduced in 1.4.2
fix for setting custom resolution
- fix setLayerMethod method
setLayerMethod method- add setLayerMethod method
setLayerMethod methodremove use of Imagick::LAYERMETHOD_FLATTEN as it messes up the rendering of specific pages
Imagick::LAYERMETHOD_FLATTEN as it messes up the rendering of specific pages- set default format
- performance improvements
allow pdf to be loaded from a URL
- improve return value
fix for pdf's with transparent backgrounds
added saveAllPagesAsImages-function.
saveAllPagesAsImages-function.- added getImageData-function.
getImageData-function.Exceptions now live in the right namespace.
setPage is now working as excepted.
It's so first release, so everything was added.
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →