次の方法で共有


FilterType Attribute | FilterType Property

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

sType String that specifies or receives one of the following values.
bilinear
Default. Uses bilinear method to define the color content of target pixels.
nearest neighbor
Uses 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