Releases: Meyfarth/Ghostscript-PHP
Releases · Meyfarth/Ghostscript-PHP
Adding resolution and output format
This release add 2 options to the ->toImage() method :
Resolution : the resolution of the output (default 200)
Format : the output format (default png16m, which is PNG)
// $transcoder->toImage(input, output[, res[, format]])
$transcoder->toImage('document.pdf', 'output.jpg', 400, 'jpeg');