diff options
author | David Flatz | 2020-12-15 14:03:47 +0100 |
---|---|---|
committer | David Flatz | 2020-12-15 14:03:47 +0100 |
commit | 4234f32f38bb1d8224a98bd292cbcd29dbca93f7 (patch) | |
tree | 2e839571a20659a4d9d6702961f1ab1520bced94 | |
parent | b1f93d2a19e2be09fd17410f99c408e2347cd2c8 (diff) | |
download | itools-4234f32f38bb1d8224a98bd292cbcd29dbca93f7.tar.gz itools-4234f32f38bb1d8224a98bd292cbcd29dbca93f7.tar.bz2 itools-4234f32f38bb1d8224a98bd292cbcd29dbca93f7.zip |
ignore warning of jpeg decoder
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -803,7 +803,7 @@ static function imageconvert($p) $ultratimeout = file_exists("/opt/ultra/bin/ultratimeout") ? "/opt/ultra/bin/ultratimeout 30 " : ""; if (in_array($type, explode(',', $p['types']))) # Valid type? - $cmdoutput = it::exec('( ' . $ultratimeout . 'gm convert -limit threads 2 2>&1 {-opts} {in} {type}:{out} || echo "SHELL ERROR $?" ) | grep -v " iCCP: "', $p); + $cmdoutput = it::exec('( ' . $ultratimeout . 'gm convert -limit threads 2 2>&1 {-opts} {in} {type}:{out} || echo "SHELL ERROR $?" ) | grep -Ev "( iCCP: | Invalid SOS parameters for sequential JPEG )"', $p); if ($p['pngcrush'] && $p['type'] == "png") it::exec('pngcrush.sh 2>/dev/null {out} {out}.tmp && mv {out}.tmp {out} || rm {out}.tmp', $p); |