Back to the snippets index

pdf quality

( Anthony 28/6/2008 )

Setting the pdf quality - must come before the pdf file is read in.
This effects the output quality.

IM code:

<?php
exec
("convert -density 300x300 input.pdf[5] output.jpg");
?>