Whatever message this page gives is out now! Go check it out!
ImageInfo(image) |
Parameter | Description |
image | Required. The ColdFusion image on which this operation is performed. |
<!--- This example shows how to retrieve information associated with the image. --->
<!--- Create a ColdFusion image from a JPEG file.--->
<cfimage source="../cfdocs/images/artgallery/jeff05.jpg" name="myImage">
<!--- Retrieve the information associated with the image. --->
<cfset info=ImageInfo(myImage)>
<cfdump var="#info#"></cfdump>
<p>height = <cfoutput>#info.height#</cfoutput>
<p>width = <cfoutput>#info.width#</cfoutput>
<p>source = <cfoutput>#info.source#"</cfoutput>
<p>pixel size = <cfoutput>#info.colormodel.pixel_size#</cfoutput>
<p>transparency = <cfoutput>#info.colormodel.transparency#</cfoutput>