I have been working to create thumbnail for pdf file. I have used below link for installation and configuration of ImageMagick installation and configuration of ImageMagick and code I have used below code to for conversion of pdf file to thumbnail
<?php
exec("C:/ImageMagick-6.8.0-Q16/convert.exe a.pdf -resize 546x274^ -quality 80 temp.jpg 2>&1", $array);
?>
It is not converting but it is converting images. The code is
<?php
exec("C:/ImageMagick-6.8.0-Q16/convert.exe a.jpg -resize 546x274^ -quality 80 temp.jpg 2>&1", $array);
?>
Can any one please help me to create thumbnail for pdf file .Thanks in advance.