From a00c93d4a333fe3558c2a9aef4c64d2bb720abbf Mon Sep 17 00:00:00 2001 From: David Flatz Date: Tue, 8 Sep 2015 10:52:41 +0200 Subject: ignore all warnings from iCCP --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it.class') 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 === ""; } -- cgit v1.2.3