summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorDavid Flatz2015-09-08 10:52:41 +0200
committerDavid Flatz2015-09-08 10:52:41 +0200
commita00c93d4a333fe3558c2a9aef4c64d2bb720abbf (patch)
tree62bf5bc48757565cfb2869c6fd5d2deb5bda2578 /it.class
parent6a64e44bf81efcda494d4b2a7b147a25f552039b (diff)
downloaditools-a00c93d4a333fe3558c2a9aef4c64d2bb720abbf.tar.gz
itools-a00c93d4a333fe3558c2a9aef4c64d2bb720abbf.tar.bz2
itools-a00c93d4a333fe3558c2a9aef4c64d2bb720abbf.zip
ignore all warnings from iCCP
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 eed0d1f..05efbee 100644
--- a/it.class
+++ b/it.class
@@ -690,7 +690,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 2>&1 {-opts} {in} {type}:{out} || echo "SHELL ERROR $?" ) | grep -v "iCCP: known incorrect sRGB profile"', $p);
+ $cmdoutput = it::exec('( ' . $ultratimeout . 'gm convert 2>&1 {-opts} {in} {type}:{out} || echo "SHELL ERROR $?" ) | grep -v " iCCP: "', $p);
return $cmdoutput === "";
}