ImageSetAntialiasing()
Switches antialiasing on or off in rendered graphics.
Requires Extension: Image extension
ImageSetAntialiasing( image=any, antialias=string );
Returns: void
Argument | Description | Default |
---|---|---|
image
any,
required
|
The image on which this operation is performed. Alias: name |
|
antialias
string,
optional
|
Antialiasing switch:
|
on |
Examples
imgObj = imageNew("",200,200,"rgb","149c82");
imgObj.setAntialiasing('off');
cfimage(action="writeToBrowser", source=imgObj);
See also
- Image manipulation
- image.setAntialiasing()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)