{-ms-interpolation-mode} Trident Vendor-Prefixed Property | CSS: Presentation Layer

Standards Based Development

--ms-interpolation-mode property is a Trident vendor-prefixed Microsoft Extension to css. --ms-interpolation-mode is used for getting or setting the interpolation (resampling) method used to stretch images.--ms-interpolation-mode applies to stretched images only; example, if an image is 200x200 but its height and width are specified as 400x400, the image will stretch to the new dimensions using the nearest-neighbor algorithm, unless otherwise specified.

If a web document's zoom level is 100%, the default interpolation is --ms-interpolation-mode:nearest-neighbor, otherwise

--ms-interpolation-mode:bicubic is used.

Note: --ms-interpolation-mode is obselete as of ie9; introduced in ie7.

Property Values

nearest-neighbor

Always use nearest neighbor interpolation mode.

bicubic

Always use high-quality bicubic interpolation mode.

--ms-interpolation-mode Demo - requires ie7 or ie8

References and Resources