sharpenSharpen() - Media Method

The sharpenSharpen() method makes the edges in the image more pronounced.

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

sharpenSharpen();

Parameters

This function has no parameters.

Example

var image = new Media();

image.load(name @ "peppers.tga");

image.sharpenSharpen();

image.save(type @ "jpeg");