mocchi / pdf
Pdf to image converter
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/mocchi/pdf
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