Added quiet flags to netpbm utils.

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1879 e3e1d417-86f3-4887-817a-d78f3d33393f
pull/27/merge
stan 2006-03-23 18:10:04 +00:00
parent d6ce8c8f5b
commit 1acc2abaf7
1 changed files with 1 additions and 1 deletions

View File

@ -955,7 +955,7 @@ function getImageSrc( $event, $frame, $scale, $capture_only=false, $overwrite=fa
{
if ( ZM_WEB_SCALE_THUMBS )
{
$command = ZM_PATH_NETPBM."/jpegtopnm -dct fast $image_path | ".ZM_PATH_NETPBM."/pnmscalefixed $fraction | ".ZM_PATH_NETPBM."/ppmtojpeg --dct=fast > $thumb_path";
$command = ZM_PATH_NETPBM."/jpegtopnm -quiet -dct fast $image_path | ".ZM_PATH_NETPBM."/pnmscalefixed -quiet $fraction | ".ZM_PATH_NETPBM."/pnmtojpeg -quiet -dct=fast > $thumb_path";
exec( $command );
}
else