ImageGetWidth()

Retrieves the width of the specified image.

Requires Extension: Image extension

ImageGetWidth( image=any );

Returns: Number

Argument Description
image
any, required

The image on which this operation is performed.

Alias: name

Examples

img=imageNew("",150,300,"RGB","45aaf2");
writeOutput("Width is "&imageGetWidth(img));

See also