From: Bharat M. <bh...@us...> - 2001-08-24 19:51:21
|
Update of /cvsroot/gallery/gallery In directory usw-pr-cvs1:/tmp/cvs-serv31123 Modified Files: util.php Log Message: Set the quality of ppmtojpeg to 95. Index: util.php =================================================================== RCS file: /cvsroot/gallery/gallery/util.php,v retrieving revision 1.77 retrieving revision 1.78 diff -u -r1.77 -r1.78 --- util.php 2001/08/20 07:18:50 1.77 +++ util.php 2001/08/24 19:51:19 1.78 @@ -386,7 +386,7 @@ if (eregi("\.png", $file)) { $cmd = NetPBM("pnmtopng"); } else if (eregi("\.(jpg|jpeg)", $file)) { - $cmd = NetPBM("ppmtojpeg"); + $cmd = NetPBM("ppmtojpeg", "--quality=95"); } else if (eregi(".gif", $file)) { $cmd = NetPBM("ppmquant", "256") . " | " . NetPBM("ppmtogif"); } |