pdf to image then image to pdf in 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");