Retrieves the height of the ColdFusion image in pixels.
imageGetHeight(name)
returns numeric
someImage.getHeight()
Name | Type | Required | Default | Description |
---|---|---|---|---|
name | string | Yes | The image on which this operation is performed. |
CF11+ Lucee4.5+ Extract the height of an image
imgObj = imageRead("http://cfdocs.org/apple-touch-icon.png");
height = imgObj.getHeight();
writeOutput(height);