Whitebeam Object Definition

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Object Definition

Method Description

GraphicImage.sharpen()

Sharpen a true-colour image

Syntax

String = GraphicImage.sharpen(percent)

Parameters

The 'GraphicImage.sharpen' method takes 1 parameter:

Name Type/Value Range/Length Description
percentnumber  Optional, default = 25
Percentage figure used to determine how aggressively to sharpen the image. Bigger numbers indicate more agressive sharpen function. Values of greater than 100 are allowed.

Results

The 'GraphicImage.sharpen' method returns String:

Type/Value Range/Length Description
String   Returns a reference to 'this' if the operation succeeds, otherwise throws an exception.

Remarks

This method applies a sharpenning algorithm to the image. The single optional percentage parameter specifies how hard the system should work at sharpenning the image.

Note that only true-colour images can be sharpenned. Invoking this method on a palette image has no effect and is silently ignored.

Whitebeam release 1.3.36
(loadtime : 13ms)