mocchi / pdf
This package is abandoned and no longer maintained.
No replacement package was suggested.
Pdf to image converter
v0.1
2021-01-15 15:53 UTC
Requires
- php: >=7.4
README
Pdf to image converter
Installation
git clone git@github.com:SineMah/mocchi-pdf.git
or
composer require mocchi/pdf
$file = new \Mocchi\Pdf\File('./file.pdf'); $file->convert(['width' => 800, 'quality' => 100, 'type' => 'png']);
Options array
- width (int)
- height (int)
- resolution (int)
- type (string) jpg or png
- quality (int) 1 ... 100
- path (string)
- file_name (string)
- page (int)
mocchi-Pdf overload values with default params from your source file.
License
MIT