pdf to png imagemagick php code example
Example: pdf to image php
<?php
$im = new Imagick();
$im->setResolution( 300, 300 );
$im->readImage( "test.pdf" );
$im->writeImage( "dir");
<?php
$im = new Imagick();
$im->setResolution( 300, 300 );
$im->readImage( "test.pdf" );
$im->writeImage( "dir");