From c616e7b840258e98a86afd103efd8b1f152ebf66 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Fri, 18 Feb 2011 18:18:34 +0000 Subject: Switch from ImageMagick to GraphicsMagick (new ImageMagick is too broken) --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it.class') diff --git a/it.class b/it.class index 3e5f6b1..c8d3c29 100644 --- a/it.class +++ b/it.class @@ -538,7 +538,7 @@ static function imageconvert($p) $p['-opts'] = array('-thumbnail' => $p['size']) + (array)$p['-opts']; if (in_array($type, explode(',', $p['types']))) # Valid type? - $cmdoutput = it::exec('convert 2>&1 -flatten -quality 75 {-opts} {in} {type}:{out} || echo "SHELL ERROR $?"', $p); + $cmdoutput = it::exec('gm convert 2>&1 -flatten -quality 75 {-opts} {in} {type}:{out} || echo "SHELL ERROR $?"', $p); return $cmdoutput === ""; } -- cgit v1.2.3