1
How can I convert TIFF to PDF using Ghostscript?
I tried to use the code below but it not working:
Snippet
$input_file_tif='test.pdf';
$input_file_orig_name='1234.tiff';
$gs_command = "gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=tiffg3 -r300x300 \
-sOutputFile='".$input_file_tif."".$input_file_orig_name."' ";