diasansley Posted August 9, 2012 Share Posted August 9, 2012 my req is to convert the pdf(first page) to an image file so far i have a few dll files and a pdftohtml.exe and the below mentioned code. I dnt knw if I am doing it the right way but any help would appreciated. $pdfname = "C:/xampp/htdocs/test/test.pdf"; $htmlfile = "C:/xampp/htdocs/test/testtest.html"; $path_to_lib = "C:/xampp/htdocs/test"; $rtn = exec('C:/xampp/htdocs/test -c -s "'.$pdfname.'" "'.$htmlfile.'"', $ouputted_html); foreach ($ouputted_html as $val){ echo $val . "\n"; } I get no output Quote Link to comment https://forums.phpfreaks.com/topic/266844-pdf-to-image-first-page/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.