Whatever message this page gives is out now! Go check it out!

ImageGetEXIFTag

Last update:
May 18, 2026

Description

Retrieves the specified EXIF tag in an image.

Returns

The value of the specified EXIF tag.

Category

Function syntax

ImageGetEXIFTag(name, tagName)

See also

History

ColdFusion 8: Added this function.

Parameters

Parameter
Description
name
Required. The ColdFusion image on which this operation is performed.
tagName
Required. The EXIF tag name to be returned.

Usage

The ImageGetEXIFTag function applies only to JPEG images. If you try to retrieve metadata for Base64, BLOB, or other types of images, ColdFusion generates errors.

Example

<!--- This example shows how to retrieve one element from the EXIF information associated with an image. ---> 

<!--- Create a ColdFusion image from an existing JPEG file. ---> 

<cfimage source="../cfdocs/images/artgallery/paul05.jpg" name="myImage"> 

<!--- Retrieve the name of the software application used to create the original image. ---> 

<cfset data = ImageGetEXIFTag(myImage,"software")> 

<!--- Display the name of the software. ---> 

<cfdump var="#data#">

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page