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,true: (default)
  • off,false:

on

Examples

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

See also