A structure containing information about the image.

imageGetMetadata(image) → returns struct

Member Function Syntax


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

imageGetMetadata Argument Reference

name string

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