mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
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:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user