Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Controls)

InterpolationMode Enumeration

Show in webframe
Interpolation mode support by LEADTOOLS.
Syntax
Leadtools.Controls.InterpolationMode = function() { };
Leadtools.Controls.InterpolationMode.prototype = {
	none = 0,
	resample = 1,
	scaleToGray = 2,
	
 };
Members
ValueMemberDescription
0none No interpolation. Default rendering by the platform.
1resample Use bilinear interpolation (resample) if the render operation needs to resize the image when zoom value is less than 1:1. This mode works for both bitonal (black/white) and color images.
2scaleToGray Enables grayscaling of bitonal images (such as black and white) if the render operation needs to resize the image when zoom value is less than 1:1. This mode produces slighly better result if the original image was black and white. However, in almost all cases, Resample produces similar results in quality and speed and should be used for all images.
Remarks

For more information, refer to Image Viewer Interpolation.

Example

For an example, refer to InterpolationMode.

See Also

Reference

Leadtools.Controls Namespace

Error processing SSI file