imageGetIPTCMetaData

Retrieves the International Press Telecommunications Council (IPTC )headers in a ColdFusion image as a structure.

imageGetIPTCMetaData(name) → returns Struct

Member Function Syntax

someImage.getIPTCMetaData()

This function requires Adobe ColdFusion 8 and up. Not supported on Lucee, OpenBD, etc.

Argument Reference for the imageGetIPTCMetaData function

name

Required: Yes
The image on which this operation is performed.

Examples sample code invoking the imageGetIPTCMetaData function


Using getIPTCMetaData member function

CF 11+ Extract the IPTC meta data from IPTC image (https://code.google.com/p/metadata-extractor/wiki/SampleOutput)

imgObj = imageRead("http://sample-images.metadata-extractor.googlecode.com/git/FujiFilm%20FinePixS1Pro%20(1).jpg");
x = imgObj.getIPTCMetaData();
writeDump(x);

Fork me on GitHub