From 3f7e00bf81d873dbe1bc722a5f094f3e21118255 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 27 Oct 2012 00:55:28 +0000 Subject: [PATCH] Improve the fax resolution when converting a pdf to a tif to prepare to send it. Special thanks to ocens_ryan. --- app/fax/fax_view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/fax/fax_view.php b/app/fax/fax_view.php index 495d1f911a..c8c4a3a334 100644 --- a/app/fax/fax_view.php +++ b/app/fax/fax_view.php @@ -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"); }