All notable changes to pdf-to-image
will be documented in this file
- No longer use imagick for processing, use GD instead
- Colorspace and merging of layers is no longer available
- Refactor export formats to enum
- Renaming/refactoring of methods
- Converting PHPUnit to Pest tests by @ntaylor-86 in spatie#189
- Adding a thumbnail method by @ntaylor-86 in spatie#188
- @ntaylor-86 made their first contribution in spatie#189
Full Changelog: https://github.com/spatie/pdf-to-image/compare/2.1.0...2.2.0
- add support for PHP 8
- add usage of Imagick
pingImage
to speedup the page count
- added typehints
- removal of ability of loading pdfs via URLs
- add exception message to
PdfDoesNotExist
- throw exception when trying to fetch a negative page number
- add method getOutputFormat and update saveImage for auto set filename
- make
imagick
public
- fix bug around
setCompressionQuality
- add
setCompressionQuality
- add
setColorspace
- fix remote pdf handling
- fix flattening of pdf
- fix where
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
- add
setLayerMethod
method
- remove use of
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.
- added
getImageData
-function.
- Exceptions now live in the right namespace.
- setPage is now working as excepted.
- It's so first release, so everything was added.