PackageTrack
Sign in Get early access

spatie/pdf-to-image

Convert a pdf to an image

3.4.0 17M downloads/mo #1076 most downloaded on Packagist spatie/pdf-to-image

What this package is like to depend on

Last release 16 days ago

07 Aug 2026

Release timing varies

gaps range from 6 weeks to 2.0 years

Nearly every release is documented

notes for 35 of 36 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

36 releases · first in 2015

3 releases in the last 12 months

see the full history below

Release timeline

35 releases · Jul 2015 to Aug 2026
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 36
  1. 3.4.0 07 Aug 2026
    Release notes

    What's Changed

    Full Changelog: 3.3.0...3.4.0

    Open source →
    Release notes

    What's Changed

    • Add support for password-protected PDFs by @freekmurze in https://github.com/spatie/pdf-to-image/pull/268

    Full Changelog: https://github.com/spatie/pdf-to-image/compare/3.3.0...3.4.0

    Open source →
  2. 3.3.0 26 Jun 2026
    Release notes

    What's Changed

    • Bump dependabot/fetch-metadata from 2 to 3 by @dependabot[bot] in #260
    • Bump actions/checkout from 6 to 7 by @dependabot[bot] in #266
    • fix: use white background by default when flattening PDF layers by @lazerg in #267

    New Contributors

    Full Changelog: 3.2.0...3.3.0

    Open source →
    Release notes

    What's Changed

    • Bump dependabot/fetch-metadata from 2 to 3 by @dependabot[bot] in https://github.com/spatie/pdf-to-image/pull/260
    • Bump actions/checkout from 6 to 7 by @dependabot[bot] in https://github.com/spatie/pdf-to-image/pull/266
    • fix: use white background by default when flattening PDF layers by @lazerg in https://github.com/spatie/pdf-to-image/pull/267

    New Contributors

    • @lazerg made their first contribution in https://github.com/spatie/pdf-to-image/pull/267

    Full Changelog: https://github.com/spatie/pdf-to-image/compare/3.2.0...3.3.0

    Open source →
  3. 3.2.0 09 Feb 2026
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 3.1.0...3.2.0

    Open source →
    Release notes

    What's Changed

    • Update README.md by @danielrona in https://github.com/spatie/pdf-to-image/pull/240
    • Bump stefanzweifel/git-auto-commit-action from 4 to 6 by @dependabot[bot] in https://github.com/spatie/pdf-to-image/pull/251
    • Update issue template by @AlexVanderbist in https://github.com/spatie/pdf-to-image/pull/253
    • Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/spatie/pdf-to-image/pull/252
    • Bump stefanzweifel/git-auto-commit-action from 6 to 7 by @dependabot[bot] in https://github.com/spatie/pdf-to-image/pull/254
    • feat: add tests for php 8.4 and 8.5 by @Chris53897 in https://github.com/spatie/pdf-to-image/pull/256
    • Bump actions/checkout from 5 to 6 by @dependabot[bot] in https://github.com/spatie/pdf-to-image/pull/257
    • Wide PDFs, Antialiasing, Minor Improvements by @patinthehat in https://github.com/spatie/pdf-to-image/pull/249

    New Contributors

    • @danielrona made their first contribution in https://github.com/spatie/pdf-to-image/pull/240
    • @AlexVanderbist made their first contribution in https://github.com/spatie/pdf-to-image/pull/253
    • @Chris53897 made their first contribution in https://github.com/spatie/pdf-to-image/pull/256

    Full Changelog: https://github.com/spatie/pdf-to-image/compare/3.1.0...3.2.0

    Open source →
  4. 3.1.0 14 Sep 2024
    Release notes

    What's Changed

    • Add background color setting for the output image by @waithawoo in #239

    New Contributors

    Full Changelog: 3.0.0...3.1.0

    Open source →
    Release notes

    What's Changed

    • Add background color setting for the output image by @waithawoo in https://github.com/spatie/pdf-to-image/pull/239

    New Contributors

    • @waithawoo made their first contribution in https://github.com/spatie/pdf-to-image/pull/239

    Full Changelog: https://github.com/spatie/pdf-to-image/compare/3.0.0...3.1.0

    Open source →
  5. 3.0.0 10 Jun 2024
    Release notes

    This release updates the package to a new major version, v3.0.0.

    Major changes:

    • Dropped support for PHP versions < 8.2.
    • Many breaking API changes (see below).
    • Added support for saving multiple pages to images using selectPages().
    • Native Backed Enum implementations to enforce allowed values in several places.
    • Dropped support for reading remote PDF files for security reasons.
    • Added property, argument and return types.
    • Removed Imagick instance creation in constructor, replaced calls to readImage() with pingImage() (test suite runs ~33% faster).

    Breaking API Changes

    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.

    Additional Changes

    • php-cs-fixer configuration and workflow was dropped in favor of Laravel Pint.
    • Readme updated to include all available methods, fix a few grammatical errors, etc.
    • Fixed several minor, previously unknown bugs.
    • Test coverage increased from ~65% to ~93%.
    • Pest upgraded to v2, migrated PHPUnit configuration to v10.
    • Unit tests were reorganized/restructured to be more manageable, and Pest configuration files were added.

    What's Changed

    Full Changelog: 2.3.0...3.0.0

    Open source →
    Release notes

    This release updates the package to a new major version, v3.0.0.

    Major changes:

    • Dropped support for PHP versions < 8.2.
    • Many breaking API changes (see below).
    • Added support for saving multiple pages to images using selectPages().
    • Native Backed Enum implementations to enforce allowed values in several places.
    • Dropped support for reading remote PDF files for security reasons.
    • Added property, argument and return types.
    • Removed Imagick instance creation in constructor, replaced calls to readImage() with pingImage() (test suite runs ~33% faster).

    Breaking API Changes

    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.

    Additional Changes

    • php-cs-fixer configuration and workflow was dropped in favor of Laravel Pint.
    • Readme updated to include all available methods, fix a few grammatical errors, etc.
    • Fixed several minor, previously unknown bugs.
    • Test coverage increased from ~65% to ~93%.
    • Pest upgraded to v2, migrated PHPUnit configuration to v10.
    • Unit tests were reorganized/restructured to be more manageable, and Pest configuration files were added.

    What's Changed

    • Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 by @dependabot in https://github.com/spatie/pdf-to-image/pull/228
    • Major version: v3 by @patinthehat in https://github.com/spatie/pdf-to-image/pull/230

    Full Changelog: https://github.com/spatie/pdf-to-image/compare/2.3.0...3.0.0

    Open source →
  6. 2.3.0 07 Mar 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.2.0...2.3.0

    Open source →
    Release notes

    What's Changed

    • Silently ignore pingImage failure and load number of pages lazily by @bobvandevijver in https://github.com/spatie/pdf-to-image/pull/187
    • Add Dependabot Automation by @patinthehat in https://github.com/spatie/pdf-to-image/pull/203
    • Fix failing tests by @patinthehat in https://github.com/spatie/pdf-to-image/pull/205
    • Add PHP 8.2 Support by @patinthehat in https://github.com/spatie/pdf-to-image/pull/202
    • Fix php-cs-fixer workflow by @patinthehat in https://github.com/spatie/pdf-to-image/pull/206
    • Minor dependabot auto-merge workflow improvements by @patinthehat in https://github.com/spatie/pdf-to-image/pull/220
    • Adding webp to the validOutputFormats by @ntaylor-86 in https://github.com/spatie/pdf-to-image/pull/221
    • Add PHP 8.3 to the test run workflow by @patinthehat in https://github.com/spatie/pdf-to-image/pull/223

    New Contributors

    • @bobvandevijver made their first contribution in https://github.com/spatie/pdf-to-image/pull/187
    • @patinthehat made their first contribution in https://github.com/spatie/pdf-to-image/pull/203
    • @dependabot made their first contribution in https://github.com/spatie/pdf-to-image/pull/204

    Full Changelog: https://github.com/spatie/pdf-to-image/compare/2.2.0...2.3.0

    Open source →
  7. 2.2.0 08 Mar 2022
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.1.0...2.2.0

    Open source →
  8. 2.1.0 12 Nov 2020
    Release notes
    • add support for PHP 8 (#164)
    Open source →
    Release notes
    • add support for PHP 8
    Open source →
  9. 2.0.1 29 Apr 2020
    Release notes
    • add usage of Imagick pingImage to speedup the page count
    Open source →
    Release notes
    • add usage of Imagick pingImage to speedup the page count
    Open source →
  10. 2.0.0 08 Jan 2020
    Release notes
    • added typehints
    • removal of ability of loading pdfs via URLs
    Open source →
    Release notes
    • added typehints
    • removal of ability of loading pdfs via URLs
    Open source →
  11. 1.8.2 31 Jul 2019
    Release notes
    • add exception message to PdfDoesNotExist
    Open source →
  12. 1.8.1 02 Jul 2018
    Release notes
    • throw exception when trying to fetch a negative page number
    Open source →
  13. 1.8.0 03 Apr 2018
    Release notes
    • add method getOutputFormat and update saveImage for auto set filename
    Open source →
  14. 1.7.0 14 Mar 2018
    Release notes
    • make imagick public
    Open source →
  15. 1.6.1 14 Mar 2018
    Release notes
    • fix bug around setCompressionQuality
    Open source →
  16. 1.6.0 20 Dec 2017
    Release notes
    • add setCompressionQuality
    Open source →
  17. 1.5.0 26 Oct 2017
    Release notes
    • add setColorspace
    Open source →
  18. 1.4.6 11 Oct 2017
    Release notes
    • fix remote pdf handling
    Open source →
  19. 1.4.5 18 Jul 2017
    Release notes
    • fix flattening of pdf
    Open source →
  20. 1.4.4 11 Jul 2017
    Release notes
    • fix where getNumberOfPages would report the wrong number when looping through the pdf
    Open source →
  21. 1.4.3 07 Jul 2017
    Release notes
    • fix bugs introduced in 1.4.2
    Open source →
  22. 1.4.2 01 Jul 2017
    Release notes
    • fix for setting custom resolution
    Open source →
  23. 1.4.1 28 Jun 2017
    Release notes
    • fix setLayerMethod method
    Open source →
  24. 1.4.0 15 Jun 2017
    Release notes
    • add setLayerMethod method
    Open source →
  25. 1.3.3 25 Apr 2017
    Release notes
    • remove use of Imagick::LAYERMETHOD_FLATTEN as it messes up the rendering of specific pages
    Open source →
  26. 1.3.2 no date
    Release notes
    • set default format
    Open source →
  27. 1.3.1 16 Apr 2017
    Release notes
    • performance improvements
    Open source →
  28. 1.3.0 23 Mar 2017
    Release notes
    • allow pdf to be loaded from a URL
    Open source →
  29. 1.2.2 14 Dec 2016
    Release notes
    • improve return value
    Open source →
  30. 1.2.1 08 Sep 2016
    Release notes
    • fix for pdf's with transparent backgrounds
    Open source →
  31. 1.2.0 29 Apr 2016
    Release notes
    • added saveAllPagesAsImages-function.
    Open source →
  32. 1.1.0 13 Apr 2016
    Release notes
    • added getImageData-function.
    Open source →
  33. 1.0.3 22 Jan 2016
    Release notes

    Bugfix

    • Exceptions now live in the right namespace.
    Open source →
  34. 1.0.1 03 Jul 2015
    Release notes

    Bugfix

    • setPage is now working as excepted.
    Open source →
  35. 1.0.0 02 Jul 2015
    Release notes

    Added

    • It's so first release, so everything was added.
    Open source →
  36. 0.0.1 02 Jul 2015

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive