# image.setAntialiasing()

Switches antialiasing on or off in rendered graphics.

```
image.setAntialiasing( antialias=string )
```

**Returns:** image

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| antialias | string | No | Antialiasing switch: - on, true: (default) - off, false: |  |

# Examples

```cfml
	imgObj = imageNew("",150,150,"rgb","149c82");
	imgObj.setAntialiasing('off');
	cfimage(action="writeToBrowser", source=imgObj);
```

# Categories

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

# See Also

[ImageSetAntialiasing()](../../functions/imagesetantialiasing.md), [Image](../image.md)