ColdFusion 9.0 Resources |
ImageGetEXIFTagSee alsocfimage, ImageGetBlob, ImageGetBufferedImage, ImageGetHeight, ImageGetIPTCTag, ImageGetWidth, ImageInfo, IsImage, IsImageFile Parameters
UsageThe 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#"> |