pliasun / pdf-to-png
Convert a pdf to png
1.3
2019-03-23 18:00 UTC
Requires
- php: >=5.5.0
- ext-imagick: *
Requires (Dev)
- phpunit/phpunit: 4.*
- scrutinizer/ocular: ~1.1
This package is auto-updated.
Last update: 2024-10-24 07:15:42 UTC
README
Convert a pdf to png
/config/app.php
Package Service Providers... Pliasun\PdfToPng\PdfToPngServiceProvider::class,
'aliases' => [ 'PdfToPng' => Pliasun\PdfToPng\PdfToPngFacade::class,
in code
PdfToPng::convert_size($from, $to, $size_x, $size_y, $quality, $ratio);
PdfToPng::convert($from, $to, $resolution_x, $resolution_y, $quality)
##$ratio = width | height | both | null