Skip to content

Releases: Meyfarth/Ghostscript-PHP

Adding resolution and output format

25 Sep 14:24

Choose a tag to compare

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');