A SERVICE OF

logo

MediaScript Objects and Methods 113
Example
var image = new Media();
image.load(name @ "peppers.tga");
image.otherMinimum(Radius @ 2);
image.save(type @ "jpeg");
pixellateFragment()
Makes and offsets four copies of the image.
NOTE: This function is “selection aware,” so that if a selection has been made, the system applies
it based on the current selection. For more information about making selections, see “selection()” on
page 129.
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");