diff options
author | Christian Schneider | 2010-01-29 00:30:05 +0000 |
---|---|---|
committer | Christian Schneider | 2010-01-29 00:30:05 +0000 |
commit | 4a032b0a5ee90d3ec30b9be70cd89a15fc3f0b70 (patch) | |
tree | 7bbc83c13a92e5339607a82b53645f3650eb78bd | |
parent | 4b473ef5045dc6883dd3fda1543a3ce2e2ba77fa (diff) | |
download | itools-4a032b0a5ee90d3ec30b9be70cd89a15fc3f0b70.tar.gz itools-4a032b0a5ee90d3ec30b9be70cd89a15fc3f0b70.tar.bz2 itools-4a032b0a5ee90d3ec30b9be70cd89a15fc3f0b70.zip |
Convert it.class back to old syntax
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -522,7 +522,7 @@ static function imageconvert($p) list(, $type) = explode(' ', strtolower(it::exec('identify 2>/dev/null {in}', $p))); # for things like eps } - $type = strtr($type, "jpeg" => "jpg", "tiff" => "tif", "ps" => "eps", "ept" => "eps"); + $type = strtr($type, array("jpeg" => "jpg", "tiff" => "tif", "ps" => "eps", "ept" => "eps")); $p += array('type' => $type, 'types' => "bmp,eps,gif,jp2,jpg,png,svg,tif"); $p['-opts'] = array('-thumbnail' => $p['size']) + (array)$p['-opts']; |