I want to convert .pdf file to .png file using Imagemagick php API.
we can do this from shell using this:
$convert sample.pdf sample_image.png
we can issue this command using php exec()
function but due to some reason (security) I disabled the execution of shell commands using php.
so now tell me the solution that how can i convert my .pdf file to .png file without using the php exec()
function?
There is another discussion about this here but it's not very clear.