OpenWGA 7.9 - TMLScript reference
ImageScalerProperty :
interpolation
On object | ImageScaler |
Usage |
Controls the interpolation strategy used for scaling |
Description |
This property grants direct acccess to the interpolation strategy object of the Java Advanced Imaging API. To use this you need deeper understanding of this API and its interpolation operations. The interpolation strategy object is a subclass of JAI class javax.media.jai.Interpolation. Individual subclasses represent different strategies. These are needed when scaling images to determine, how image parts are "magnified" or "shrinked" in this process. The strategy used has a strong effect on the quality of the result. Different strategies are suitable for different kind of images. You find further information about this topic on the Java Advanced Imaging Programming Guide. The standard interpolation stragy used is "bilinear", which calculates additional pixel using an intermediate color value of the surronding pixels, and which "compresses" multiple pixels into single ones by finding an intermediate color value of all source pixels. |
Default value |
Instance ofJAI class javax.media.jai.InterpolationBilinear (bilinear interpolation) |
Writable | True |
Return value |
JAI interpolation stragy object(Subclass of JAI class javax.media.jai.Interpolation) |
Allowed in script types |
|