您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

php获取图片的exif信息

2024/5/1 11:11:24发布20次查看
php获取图片的exif信息,php自带一个exif_read_data函数可以用来读取图片的exif信息 $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
复制代码
php, exif
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product