找传奇、传世资源到传世资源站!

获取图片详细信息(exif)

8.5玩家评分(1人评分)
下载后可评
介绍 评论 失效链接反馈

可获得如下信息(下面只是一个例子)  软件:ILCE-6000 v3.20
相机存档时间:2018-06-20 09:03:37
最后修改时间:2018-06-20 09:03:37
拍摄日期:2018-06-20 09:03:37
光圈:7.1
作者:
版权:
标题:
照相机制造商:SONY
照相机型号:ILCE-6000
测光模式:MultiSegment
曝光程序:Normal
曝光时间:1/320
快门|曝光时间:0.003125
闪光灯模式:NotFired
焦距:139
焦距:139
ISO速度:100
光源:Unknown
方向;目标:TopLeft
分辨率X:350
分辨率Y:350
摄影目标距离:0
GPS坐标:
Image 宽:6000
Image 高:3376from clipboard
using EXIF.Two;using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;namespace Win.EXIF{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { OpenFileDialog openFileDlg = new OpenFileDialog(); if (DialogResult.OK.Equals(openFileDlg.ShowDialog())) { txtPath.Text = openFileDlg.FileName; } ExifManager exif = new ExifManager(txtPath.Text); txtEcho.Text = "软件:" exif.Software "<br/>" // "Title:" exif.Title "<br/>" "相机存档时间:" exif.DateTimeDigitized "<br/>" "最后修改时间:" exif.DateTimeLastModified "<br/>" "拍摄日期:" exif.DateTimeOriginal "<br/>" "光圈:" exif.Aperture "<br/>" "作者:" exif.Artist "<br/>" "版权:" exif.Copyright "<br/>" "标题:" exif.Description "<br/>" "照相机制造商:" exif.EquipmentMaker "<br/>" "照相机型号:" exif.EquipmentModel "<br/>" "测光模式:" exif.ExposureMeteringMode "<br/>" "曝光程序:" exif.ExposureProgram "<br/>" "曝光时间:" exif.ExposureTime "<br/>" "快门|曝光时间:" exif.ExposureTimeAbs "<br/>" "闪光灯模式:" exif.FlashMode "<br/>" "焦距:" exif.FocalLength "<br/>" // "设备型号:" exif.UserComment "<br/>" "焦距:" exif.FocalLength "<br/>" "ISO速度:" exif.ISO "<br/>" "光源:" exif.LightSource "<br/>" "方向;目标:" exif.Orientation "<br/>" "分辨率X:" exif.ResolutionX "<br/>" "分辨率Y:" exif.ResolutionY "<br/>" "摄影目标距离:" exif.SubjectDistance "<br/>" "GPS坐标:" exif.fnGPS坐标(txtPath.Text) "<br/>" "Image 宽:" exif.Width "<br/>" "Image 高:" exif.Height "<br/>"; } }}

评论

发表评论必须先登陆, 您可以 登陆 或者 注册新账号 !


在线咨询: 问题反馈
客服QQ:174666394

有问题请留言,看到后及时答复