前些天用bcb写了一个exifinfo的组件。其实用asp也可以实现。
用asp性能上要稍差一些,不过可以采取预读取形式存库,一张图片处理一次。
functions_exif.asp start
—————————-
<%
const tristateusedefault = -2
const tristatetrue = -1
const tristatefalse = 0
const forreading = 1
const forwriting = 2
const forappending = 8
const m_byte = 1
const m_string = 2
const m_short = 3
const m_long = 4
const m_rational = 5
const m_sbyte = 6
const m_undefined = 7
const m_sshort = 8
const m_slong = 9
const m_srational = 10
const m_single = 11
const m_double = 12
const exifoffset = "8769"
const makernote = "927c"
public exiflookup
set exiflookup = server.createobject("scripting.dictionary")