ImageGetWidth()

edit

Retrieves the width of the specified image.

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

ImageGetWidth( 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("Width is "&imageGetWidth(img));

See also