基本信息
源码名称:获取图片详细信息(exif)
源码大小:0.07M
文件格式:.zip
开发语言:C#
更新时间:2019-07-17
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):78630559
本次赞助数额为: 2 元×
微信扫码支付:2 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
可获得如下信息(下面只是一个例子)
软件: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 高:3376
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/>";
}
}
}