Visit the ColdFusionProNews Directory
Beginners
Installation, Coding Techniques, Data Structures...
CF Powered Sites
Stores, Directories, Universities...
Developers
Developers, Designers, Experts...
E-commerce
Shoes, Food, Music...
Education
Books, Online Resource, Languages...
Expert
LiveChat , CFX XMLParser , User Defined Function Library...
Hosting
Dedicated Servers, Virtual Server, Multi-user...
Intermediate
AutoResize , DataSource Encryption, Guestbook...

Submit your site for FREE

Archive for October, 2007

EXIF Metadata With ColdFusion 8

Wednesday, October 31st, 2007

One example that I’ve been meaning to post is how to get Image Metadata using the Exchangeable Image File Format or EXIF a using ColdFusion 8.

It’s actually quite simple, to get a list of all the EXIF tags simply use the ImageGetExifMetaData function.

Here’s a quick example:

<cfimage action="read" source="#ExpandPath("lobster.jpg")#" name="img">

<cfset exif = ImageGetEXIFMetaData(img)>

<cfdump var=”#exif#”>

Here’s a screen shot of a CFDUMP of the EXIF Image Metadata.
(more…)