imageGetEXIFMetadata

Retrieves the Exchangeable Image File Format (EXIF) headers in an image as a CFML structure.

imageGetEXIFMetadata(name) → returns struct

Member Function Syntax

someImage.getEXIFMetadata()

Argument Reference

name string
Required

The image on which this operation is performed.

Examples
Sample code invoking the imageGetEXIFMetadata function

CF 11+ Lucee 4.5+ Extract the EXIF meta data from exiv sample page (http://www.exiv2.org/sample.html)

imgObj = imageRead("http://www.exiv2.org/include/img_1771.jpg");
x = imgObj.getEXIFMetadata();
writeDump(x);

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub