intent Attribute | Intent

HTML (DHTML)

intent Attribute | Intent Property

Internet Development Index

Sets or retreives the intended purpose for the color content of the object. The filter adjusts the color output to improve the display of content with the selected purpose.

Syntax

HTML
{ filter:progid:DXImageTransform.Microsoft.ICMFilter(
    intent = sIntent ... ) ... }
Scripting
object.filters.item(
    "DXImageTransform.Microsoft.ICMFilter").Intent [ = sIntent ]

Possible Values

nIntent
sIntentInteger that specifies or receives one of the following values.
PictureDefault. Maintains the relationship between colors; used with images and photographs.
GraphicMaintains a color's saturation rather than its hue or lightness; used with charts and business graphics.
ProofSelects the closest supported color if the output gamut does not support a given color. The white point is not preserved.
MatchSelects the closest supported color if the output gamut does not support a given color. The white point is preserved.

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

Remarks

To take best advantage of your monitor or printer's color processing capability, choose the Intent value that best matches your content.

Applies To

ICMFilter

See Also

Scripting Filters, Filter Design Considerations