ImageGetHeight()

edit

Retrieves the height of the image in pixels.

Requires Extension: Image Extension for Jakarta EE (Lucee 7+)

ImageGetHeight( image=any );

Returns: Number

Argument Description
image
any, required
edit

The image on which this operation is performed.

Alias: name

Examples

edit
img=imageNew("",150,300,"RGB","45aaf2");
writeOutput("Height is "&imageGetHeight(img));

See also