
142 Chapter 3
•
•
•
•
sharpenSharpenMore()
Sharpens the clarity of an image, similar to the sharpenSharpen() function, but to a greater
extent.
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
sharpenSharpenMore();
Parameters
This function has no parameters.
Example
var image = new Media();
image.load(name @ "peppers.tga");
image.sharpenSharpenMore();
image.save(type @ "jpeg");
sharpenUnsharpMask()
Enhances the edges and details of an image by exaggerating the differences between the
original image 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
sharpenUnsharpMask(
[Radius @ <value 0.10..250>]
[Amount @ <value 1..500>]
[Threshold @ <value 1..255>]
);
Parameters
Radius - specifies the extent of the blurring effect. The default is 1.
Amount - specifies the extent of the enhancing effect. The default is 50.