FilterType Attribute | FilterType

HTML (DHTML)

FilterType Attribute | FilterType Property

Internet Development Index

Sets or retrieves the method used to define pixels of new content.

Syntax

HTML
{ filter:progid:DXImageTransform.Microsoft.Matrix(
    FilterType = sType ... ) ... }
Scripting
object.filters.item(
    "DXImageTransform.Microsoft.Matrix").FilterType [ = sType ]

Possible Values

sTypeString that specifies or receives one of the following values.
bilinearDefault. Uses bilinear method to define the color content of target pixels.
nearest neighborUses nearest neighbor method to define the color content of target pixels.

The property is read/write. The property has a default value of bilinear.

Remarks

For the best static filter results, the bilinear method provides a smoother image. However, when used for an animated series of images, the nearest neighbor method is computed faster and can produce more images per second of animation.

Applies To

Matrix

See Also

Scripting Filters, Filter Design Considerations