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, etc.

Argument Reference

name string
Required

The image on which this operation is performed.

Examples
Sample code invoking the imageGetIPTCMetadata 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);

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

Fork me on GitHub