You can do this using ImageMagik
convert input.pdf output.png
Or if you have PHP5 and the ImageMagik library...
$image = new Imagick('input.pdf[pagenumber]');
$image->setResolution( 300, 300 );
$image->setImageFormat( "png" );
$image->writeImage('output.png');
No comments:
Post a Comment