您好,欢迎访问一九零五行业门户网

php通过exif_read_data函数获取图片的exif信息,_PHP教程

php通过exif_read_data函数获取图片的exif信息,php获取图片的exif信息,php自带一个exif_read_data函数可以用来读取图片的exif信息,代码来自php手册
$section) { foreach ($section as $name => $val) { echo $key.$name: $val
\n; }}?>
输出结果如下
test1.jpg:no header data found.test2.jpg:file.filename: test2.jpgfile.filedatetime: 1017666176file.filesize: 1240file.filetype: 2file.sectionsfound: any_tag, ifd0, thumbnail, commentcomputed.html: width=1 height=1computed.height: 1computed.width: 1computed.iscolor: 1computed.byteordermotorola: 1computed.usercomment: exif test image.computed.usercommentencoding: asciicomputed.copyright: photo (c) m.boerger, edited by m.boerger.computed.copyright.photographer: photo (c) m.boergercomputed.copyright.editor: edited by m.boerger.ifd0.copyright: photo (c) m.boergerifd0.usercomment: asciithumbnail.jpeginterchangeformat: 134thumbnail.jpeginterchangeformatlength: 523comment.0: comment #1.comment.1: comment #2.comment.2: comment #3endthumbnail.jpeginterchangeformat: 134thumbnail.thumbnail.height: 1thumbnail.thumbnail.height: 1
以上所述就是本文的全部内容了,希望大家能够喜欢。
http://www.bkjia.com/phpjc/1003997.htmlwww.bkjia.comtruehttp://www.bkjia.com/phpjc/1003997.htmltecharticlephp通过exif_read_data函数获取图片的exif信息, php获取图片的exif信息,php自带一个exif_read_data函数可以用来读取图片的exif信息,代码来自php手...
其它类似信息

推荐信息