ColdFusion 9.0 Resources |
ImageGetHeightSee alsocfimage, ImageGetBlob, ImageGetBufferedImage, ImageGetEXIFTag, ImageGetIPTCTag, ImageGetWidth, ImageInfo, IsImage, IsImageFile Parameters
Example<!--- This example shows how to retrieve the height of an image. ---> <!--- Create a ColdFusion image from a JPEG file. ---> <cfimage source="../cfdocs/images/artgallery/jeff05.jpg" name="myImage"> <!--- Retrieve the height of the image. ---> <cfset height=#ImageGetHeight(myImage)#> <!--- Display the height of the image. ---> <cfdump var="#height#"> |