User's Manual
MediaScript Objects and Methods 111
•
•
•
•
•
otherHighPass()
Applies an effect opposite that of blurGaussianBlur() — it replaces each pixel with the
difference between the original pixel and a Gaussian-blurred version.
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
otherHighPass(
[Radius @ <value, 10..250>]
);
Parameters
Radius - specifies the radius of the Gaussian blur aspect of the effect. The default is 10.
Example
var image = new Media();
image.load(name @ "peppers.tga");
image.otherHighPass(Radius @ 50);
image.save(type @ "jpeg");
otherMaximum()
Replaces the pixels within the radius with the brightest pixel in that radius, thereby
amplifying the lighter areas 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.










