摘要: if ( ! function_exists( 'exif_imagetype' ) ) { function exif_imagetype ( $filename ) { if ( ( list($width, $height, $type, $attr) = getimagesize( $filename ) ) !== false ) { return $type; } return false; }}# libexif can also be used to parse image info out of id3 ta... 阅读全文
posted @ 2014-01-08 15:20 stallman 阅读(1500) 评论(0) 推荐(0) 编辑