# image.getWidth()

Retrieves the width of the specified image.

```
image.getWidth( )
```

**Returns:** number

*This function does not take any arguments.*

# Examples

```1
	img = imagenew("",150,200,"RGB","red");
	writeoutput("Width of the image = " & img.getwidth());
```

# Categories

[Image manipulation](../../../categories/image.md)

# See Also

[ImageGetWidth()](../../functions/imagegetwidth.md), [Image](../image.md)