EXIF Information ASP version with JPEG files (1)

Source: Internet
Author: User
Some days ago, a Exifinfo component was written with BCB. In fact, ASP can also be implemented.
With ASP performance on a little bit less, but can take the form of pre-read library, a picture processing once.


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")



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.