diff options
author | Urban Müller | 2007-06-22 16:34:32 +0000 |
---|---|---|
committer | Urban Müller | 2007-06-22 16:34:32 +0000 |
commit | 79062cf36819a668a6eb8a7ab458ef3cbaf05ddf (patch) | |
tree | b6e7835e52e9d92ec4f1b4a51d5263ae6eb1faca /it.class | |
parent | adb956699853707c7a400f8a3ba5ac848d5f96b3 (diff) | |
download | itools-79062cf36819a668a6eb8a7ab458ef3cbaf05ddf.tar.gz itools-79062cf36819a668a6eb8a7ab458ef3cbaf05ddf.tar.bz2 itools-79062cf36819a668a6eb8a7ab458ef3cbaf05ddf.zip |
ignore errors in finding img type
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -356,7 +356,7 @@ function _exec_quotevalue($value) function imageconvert($p) { $result = false; - $type = it::replace(array("jpeg" => "jpg", "tiff" => "tif"), image_type_to_extension(exif_imagetype($p['in']), false)); + $type = it::replace(array("jpeg" => "jpg", "tiff" => "tif"), image_type_to_extension(@exif_imagetype($p['in']), false)); $p += array('type' => $type, 'types' => "gif,jpg,png,bmp,tif,jp2"); if (it::match(",$type,", ",{$p['types']},")) # Valid type? |