A structure containing information about the image.

imageGetMetadata(image) → returns Struct

Member Function Syntax


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

Argument Reference for the imageGetMetadata function


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

Examples sample code invoking the imageGetMetadata function

Tag Usage

CF 11+ Extract the meta data from an image

<cfimage action="read" name="myImage" source="">
<cfset metaData = imageGetMetadata(myImage)>
<cfdump var="#metaData#">

Using getMetadata() member function

CF 11+ Extract the meta data from an image

imgObj = imageRead("");
metaData = imgObj.getMetadata();

Fork me on GitHub