|Object properties:||Enabled, Bias|
|Supported by objects:||A, ACRONYM, ADDRESS, B, BDO, BIG BLOCKQUOTE, body, BUTTON, CAPTION, CENTER, CITE, CODE, custom, DD, DFN, DIR, DIV, DL, DT, EM, FIELDSET, FONT, FORM, FRAME, FRAMESST, Hn, I, IFRAME, IMG, INPUT, INS, KBD, LABEL, LEGEND, LI, MARQUEE, MENU, NOBR, OL, P, PLAINTEXT, PRE, Q, RT, RUBY, runtimeStyle, S, SAMP, SMALL, SPAN, STRIKE, STRONG, style, SUB, SUP, TABLE, TD, TEXTAREA, TH, TT, U, UL, VAR, XMP|
This filter operates in a similar way to the Emboss() filter. In this case, the height information is inverted giving the effect of an engraved image.
The following properties are supported:
The Enabled property can be set to true or false to switch the filter on or off.
The Bias property controls an intensity level that is added to the brightness of the engraved filter output. The value can range from -1.0 to 1.0 with brighter images as the value becomes more positive.
The example shows the application of an Engrave filter to an image. However when running tests, the Bias value did not seem to have any visible effect on MSIE 5.5 running on Windows 98.
<HTML> <HEAD> </HEAD> <BODY> Normal--> <IMG ID="NORMAL" SRC="./Logo150.gif"> Filtered--> <IMG ID="MYIMAGE" SRC="./Logo150.gif"> <BR> <SCRIPT> myFilter = "progid:DXImageTransform.Microsoft.Engrave()"; document.all.MYIMAGE.style.filter = myFilter; </SCRIPT> </BODY> </HTML>