Added quiet flags to netpbm utils.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1879 e3e1d417-86f3-4887-817a-d78f3d33393fpull/27/merge
parent
d6ce8c8f5b
commit
1acc2abaf7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue