08 2012 档案

摘要:对于数码相机所拍摄出的图片,Exif信息非常重要.参考网上的文章,结合我的实际需求,整理了一下,一共三个类文件EXIFextractor .cs,Translation.cs,EXIFMetaData,cs (Translation.cs,EXIFMetaData,cs 参看用C#读取图片的EXIF信息2) ///EXIFextractor .cs using System;using System.Text;using System.Collections;using System.Drawing.Imaging;using System.Reflection;using System.IO 阅读全文
posted @ 2012-08-30 11:07 许明吉博客 阅读(3397) 评论(1) 推荐(3)
摘要:public void FindExifinfo(string filePath){ Image img = Image.FromFile(filePath); PropertyItem[] pt = img.PropertyItems; for (int i = 0; i < pt.Length; i++) {PropertyItem p = pt[i]; switch (pt[i].Id){ // 设备制造商 20. ... 阅读全文
posted @ 2012-08-29 18:28 许明吉博客 阅读(1076) 评论(0) 推荐(1)
摘要:[转]C#读取EXIF信息类ExifWorksusing System;using System.Collections.Generic;using System.Text;namespace ExifWorks{// // Utility class for working with EXIF data in images. Provides abstraction// for most common data and generic utilities for work with all other. // // // Copyright (c) Michal A. Valáše 阅读全文
posted @ 2012-08-29 18:21 许明吉博客 阅读(5929) 评论(0) 推荐(0)