Improve the fax resolution when converting a pdf to a tif to prepare to send it. Special thanks to ocens_ryan.

This commit is contained in:
Mark Crane
2012-10-27 00:55:28 +00:00
parent 9b0361ac7a
commit 3f7e00bf81

View File

@@ -253,7 +253,7 @@ else {
if ($fax_file_extension == ".pdf") {
chdir($dir_fax_temp);
exec("gs -q -sDEVICE=tiffg3 -r204x98 -dNOPAUSE -sOutputFile=".$fax_name.".tif -- ".$fax_name.".pdf -c quit");
exec("gs -q -sDEVICE=tiffg3 -r204x196 -g1728x2156 -dNOPAUSE -sOutputFile=".$fax_name.".tif -- ".$fax_name.".pdf -c quit");
//exec("rm ".$dir_fax_temp.'/'.$fax_name.".pdf");
}