pixellateFragment() - Media Method
The pixellateFragment() method makes and offsets four copies of the image.
Note: This function is “selection aware”—if a selection is made, the system applies the function based on the current selection. For more information about making selections, see selection() - Media Method.
Syntax
pixellateFragment(
[Radius @ <value 1..16>]
);
Parameters
Radius - determines the extent of the offset, with 1 indicating the minimum offset. The default is 4.
Example
var image = new Media();
image.load(name @ "peppers.tga");
image.pixellateFragment(Radius @ 2);
image.save(type @ "jpeg");
On-Line Documentation