summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorDavid Flatz2020-12-16 11:09:16 +0100
committerDavid Flatz2020-12-16 11:09:16 +0100
commit33c425a988c2adac7c3133e6e4a9ee1ad95dbe49 (patch)
tree67d19909a18bf8000e452fe4923999811ac84dfc /it.class
parent6ca1388575897cd66fb896e0aee3bf63b0d0e934 (diff)
downloaditools-33c425a988c2adac7c3133e6e4a9ee1ad95dbe49.tar.gz
itools-33c425a988c2adac7c3133e6e4a9ee1ad95dbe49.tar.bz2
itools-33c425a988c2adac7c3133e6e4a9ee1ad95dbe49.zip
ignore some more warnings
Diffstat (limited to 'it.class')
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index 2baf553..798e774 100644
--- a/it.class
+++ b/it.class
@@ -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 -Ev "( iCCP: | Invalid SOS parameters for sequential JPEG )"', $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 | profile matches .* but writing .* instead | inconsistent chromacities )"', $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);