OpenWGA 7.9 - TMLScript referenceImageScaler
Controls the interpolation strategy used for scaling
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.
Instance ofJAI class javax.media.jai.InterpolationBilinear (bilinear interpolation)
JAI interpolation stragy object(Subclass of JAI class javax.media.jai.Interpolation)
|Allowed in script types||