A SERVICE OF

logo

112 Chapter 3
Syntax
otherMaximum(
[Radius @ <value 1..10>]
);
Parameters
Radius - determines the extent of the effect. The default is 1 (minimal effect).
Example
var image = new Media();
image.load(name @ "peppers.tga");
image.otherMaximum(Radius @ 2);
image.save(type @ "jpeg");
otherMinimum()
Replaces the pixels within the radius with the darkest pixel in that radius, thereby
amplifying the darker 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.
Syntax
otherMinimum(
[Radius @ <value 1..10>]
);
Parameters
Radius - determines the extent of the effect. The default is 1 (minimal effect).