Bias Attribute | Bias

HTML (DHTML)

Bias Attribute | Bias Property

Internet Development Index

Sets or retrieves a percentage of a value that is added to each color component of the filtered result.

Syntax

HTML
{ filter:progid:DXImageTransform.Microsoft.filter-name(
    Bias = fBias ... ) ... }
Scripting
object.filters.item(
    "DXImageTransform.Microsoft.filter-name").Bias [ = fBias ]

Possible Values

fBiasFloating-point that specifies or receives a value that can range from -1.0 to 1.0.
0.7Default.

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

Remarks

Larger bias values yield brighter filtered images. Images with high contrast are least affected by the filter.

Applies To

Emboss, Engrave

See Also

Scripting Filters, Filter Design Considerations