用JPEG文件EXIF信息ASP版本(2)

'IFD0 Tags
ExifLookup.Add "Image Description", "010E"
ExifLookup.Add "Camera Make", "010F"
ExifLookup.Add "Camera Model", "0110"
ExifLookup.Add "Orientation", "0112"
ExifLookup.Add "X Resolution", "011A"
ExifLookup.Add "Y Resolution", "011B"
ExifLookup.Add "Resolution Unit", "0128"
ExifLookup.Add "Software", "0131"
ExifLookup.Add "Date Time", "0132"
ExifLookup.Add "White Point", "013E"
ExifLookup.Add "Primary Chromaticities", "013F"
ExifLookup.Add "YCbCr Coefficients", "0211"
ExifLookup.Add "YCbCr Positioning", "0213"
ExifLookup.Add "Reference Black White", "0214"
ExifLookup.Add "Copyright", "8298"
ExifLookup.Add "Exif Offset", "8769"
'ExifSubIFD Tags
ExifLookup.Add "Exposure Time", "829A"
ExifLookup.Add "FStop", "829D"
ExifLookup.Add "Exposure Program", "8822"
ExifLookup.Add "ISO Speed Ratings", "8827"
ExifLookup.Add "Exif Version", "9000"
ExifLookup.Add "Date Time Original", "9003"
ExifLookup.Add "Date Time Digitized", "9004"
ExifLookup.Add "Components Configuration", "9101"
ExifLookup.Add "Compressed Bits Per Pixel", "9102"
ExifLookup.Add "Shutter Speed Value", "9201"
ExifLookup.Add "Aperture Value", "9202"
ExifLookup.Add "Brightness Value", "9203"
ExifLookup.Add "Exposure Bias Value", "9204"
ExifLookup.Add "Max Aperture Value", "9205"
ExifLookup.Add "Subject Distance", "9206"
ExifLookup.Add "Metering Mode", "9207"
ExifLookup.Add "Light Source", "9208"
ExifLookup.Add "Flash", "9209"
ExifLookup.Add "Focal Length", "920A"
ExifLookup.Add "Maker Note", "927C"
ExifLookup.Add "User Comment", "9286"
ExifLookup.Add "Subsec Time", "9290"
ExifLookup.Add "Subsec Time Original", "9291"
ExifLookup.Add "Subsec Time Digitized", "9292"
ExifLookup.Add "Flash Pix Version", "A000"
ExifLookup.Add "Color Space", "A001"
ExifLookup.Add "Exif Image Width", "A002"
ExifLookup.Add "Exif Image Height", "A003"
ExifLookup.Add "Related Sound File", "A004"
ExifLookup.Add "Exif Interoperability Offset", "A005"
ExifLookup.Add "Focal Plane X Resolution", "A20E"
ExifLookup.Add "Focal Plane Y Resolution", "A20F"
ExifLookup.Add "Focal Plane Resolution Unit", "A210"
ExifLookup.Add "Exposure Index", "A215"
ExifLookup.Add "Sensing Method", "A217"
ExifLookup.Add "File Source", "A300"
ExifLookup.Add "Scene Type", "A301"
ExifLookup.Add "CFA Pattern", "A302"
'Interoperability IFD Tags
ExifLookup.Add "Interoperability Index", "01"
ExifLookup.Add "Interoperability Version", "02"
ExifLookup.Add "Related Image File Format", "1000"
ExifLookup.Add "Related Image Width", "1001"
ExifLookup.Add "Related Image Length", "1002"
'IFD1 Tags
ExifLookup.Add "Image Width", "0100"
ExifLookup.Add "Image Height", "0101"
ExifLookup.Add "Bits Per Sample", "0102"
ExifLookup.Add "Compression", "0103"
ExifLookup.Add "Photometric Interpretation", "0106"
ExifLookup.Add "Strip Offsets", "0111"
ExifLookup.Add "Sample Per Pixel", "0115"
ExifLookup.Add "Rows Per Strip", "0116"
ExifLookup.Add "Strip Byte Counts", "0117"
ExifLookup.Add "X Resolution 2", "011A"
ExifLookup.Add "Y Resolution 2", "011B"
ExifLookup.Add "Planar Configuration", "011C"
ExifLook

时间: 2024-10-30 14:16:03

用JPEG文件EXIF信息ASP版本(2)的相关文章

用JPEG文件EXIF信息ASP版本(1)

前些天用bcb写了一个EXIFINFO的组件.其实用ASP也可以实现.用ASP性能上要稍差一些,不过可以采取预读取形式存库,一张图片处理一次. functions_exif.asp start----------------------------<% const TristateUseDefault = -2const TristateTrue = -1const TristateFalse = 0 const ForReading = 1const ForWriting = 2const F

用JPEG文件EXIF信息ASP版本(3)

dim Offset_to_IFD0dim Offset_to_APP0dim Offset_to_APP1dim Offset_to_TIFFdim Offset_to_SOSdim Length_of_APP0dim Length_of_APP1dim Offset_to_Next_IFDdim IFDDirectoryIFDDirectory = array(0)dim Offset_to_ExifSubIFDdim ImageFiledim IsLoaded dim ExifTemp E

用JPEG文件EXIF信息ASP版本(5)

HexToDec(ExifTemp((Offset + 2) + ((i - 1) * 12) + 11)) For j = 0 To IFDDirectory(k)(IFD_IDX_Components) - 1 IFDDirectory(k)(IFD_IDX_Value) = IFDDirectory(k)(IFD_IDX_Value) & Chr(ExifTemp(Offset_to_TIFF + IFDDirectory(k)(IFD_IDX_OffsetToValue) + j)) N

用JPEG文件EXIF信息ASP版本(4)

Function OpenJPGFile(FileName) Dim Ascii, lastHex, currentHex, SOSFound Dim FSO, File, i If Not FileName = "" Then If InStr(1, FileName, ":\") = 0 Then FileName = Server.MapPath(FileName) End If Set FSO = Server.CreateObject("Scri

jpeg-如何在JPEG中添加exif信息,我用的是sanselan

问题描述 如何在JPEG中添加exif信息,我用的是sanselan exif信息是key-value形式存储的的,我想新增一个新的exif信息.但网上似乎没有这方面的资料,只能对原有的exif信息进行编辑,无法新增. 哈,望大能们施加援手,不胜感激.

整理显示照片exif信息

显示 中文方式显示照片EXIF信息,显示图片中所略图 这东西除了一些php论坛简单显示三两信息,别人的lb5000论坛上看到过显示,asp的也有不过很久没接触看着晕. 不想重复劳动,搜过google,除了asp没找到其他开源的显示exif的,所以整理出来或许有用. 没什么技术含量,基本只是汉化和资料整理的工作,以下代码为主要部分,所有文件在压缩包内,可以广泛用于相册和论坛显示图片信息的插件,希望熟悉相关知识的朋友找找bug或者加以优化. 目前应该缺不少信息,如果单单使用应该足够了. ------

显示照片exif信息PHP代码

中文方式显示照片EXIF信息,显示图片中所略图 这东西除了一些php论坛简单显示三两信息,别人的lb5000论坛上看到过显示,asp的也有不过很久没接触看着晕. 不想重复劳动,搜过google,除了asp没找到其他开源的显示exif的,所以整理出来或许有用. 没什么技术含量,基本只是汉化和资料整理的工作,以下代码为主要部分,所有文件在压缩包内,可以广泛用于相册和论坛显示图片信息的插件,希望熟悉相关知识的朋友找找bug或者加以优化. 目前应该缺不少信息,如果单单使用应该足够了. ---------

用C#读取图片的EXIF信息的方法(一)

引言: EXIF,是英文Exchangeable Image File(可交换图像文件)的缩写,最初由日本电子工业发展协会(JEIDA --Japan Electronic Industry Development Association) 制订,目前的版本是修改发表于1998年6月的2.1版.国际标准化组织(ISO)正在制订的相机文件设计标准(DCF -- Design role for Camera File system)就是以EXIF2.1格式为基础而设定的.记住,EXIF是一种图像文件

修改图片exif信息

我们先了解一下EXIF: EXIF可以附加于JPEG.TIFF.RIFF等文件之中,为其增加有关数码相机拍摄信息的内容和索引图或图像处理软件的版本信息. 所有的JPEG文件以字符串"0xFFD8"开头,并以字符串"0xFFD9"结束.文件头中有一系列"0xFF??"格式的字符串,称为"标识",用来标记JPEG文件的信息段."0xFFD8"表示图像信息开始,"0xFFD9"表示图像信息结束