I'm using linux version of nconvert to convert PDF to PNG on the fly using php exec command and ghostscript and it works just fine as long as I don't specify "-info" as a part of command line. it looks something like this:
Code: Select all
<?php exec('/usr/local/nconvert -overwrite -out png -dpi 300 -ratio -resize 600 0 -colors 256 '.$move_to, $cvt_res); ?>
Code: Select all
<?php exec('/usr/local/nconvert -info -overwrite -out png -dpi 300 -ratio -resize 600 0 -colors 256 '.$move_to, $cvt_res); ?>
Any hints or clues maybe?
Thanx...