diff options
author | Christian Weber | 2007-06-07 14:41:52 +0000 |
---|---|---|
committer | Christian Weber | 2007-06-07 14:41:52 +0000 |
commit | 882cfa59a66ebf082aa496177292887fb18819a1 (patch) | |
tree | c9bbd03a4fe34df8f7f34a60dfedf0e4b69ad58f | |
parent | 37df0debbca70a5dcfe05aa47e3ffad1faa6fca0 (diff) | |
download | itools-882cfa59a66ebf082aa496177292887fb18819a1.tar.gz itools-882cfa59a66ebf082aa496177292887fb18819a1.tar.bz2 itools-882cfa59a66ebf082aa496177292887fb18819a1.zip |
converted to standard syntax
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -355,7 +355,7 @@ function imageconvert($p) $p += array('type' => $type, 'types' => "gif,jpg,png,bmp,tif,jp2"); if (it::match(",$type,", ",{$p['types']},")) # Valid type? - $result = it::exec("convert 2>&1 -flatten {-opts} {in} {type}:{out}", '-opts' => array('-thumbnail' => $p['size']), $p) === ""; + $result = it::exec("convert 2>&1 -flatten {-opts} {in} {type}:{out}", array('-opts' => array('-thumbnail' => $p['size'])), $p) === ""; return $result; } |