summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorChristian Schneider2011-02-18 18:18:34 +0000
committerChristian Schneider2011-02-18 18:18:34 +0000
commitc616e7b840258e98a86afd103efd8b1f152ebf66 (patch)
treed87652fda6cb7191e79ebff788e19c9ee9275b07 /it.class
parente73fe3180c1208277c385b2d14a8fe7c031fd177 (diff)
downloaditools-c616e7b840258e98a86afd103efd8b1f152ebf66.tar.gz
itools-c616e7b840258e98a86afd103efd8b1f152ebf66.tar.bz2
itools-c616e7b840258e98a86afd103efd8b1f152ebf66.zip
Switch from ImageMagick to GraphicsMagick (new ImageMagick is too broken)
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 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 === "";
}