pdf to jpg php library original size all pages 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");