filter - Engrave() (Filter/visual)

An effect that is the opposite of the embossed image appearance.

Availability:

JScript - 5.5
Internet Explorer - 5.5
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 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.

Example code:

   <HTML>

   <HEAD>

   </HEAD>

   <BODY>

   Normal--&gt;

   <IMG ID="NORMAL" SRC="./Logo150.gif">

   Filtered--&gt;

   <IMG ID="MYIMAGE" SRC="./Logo150.gif">

   <BR>

   <SCRIPT>

   myFilter = "progid:DXImageTransform.Microsoft.Engrave()";

   document.all.MYIMAGE.style.filter = myFilter;

   </SCRIPT>

   </BODY>

   </HTML>

See also:filter - Emboss(), Filter object, style.filter

PropertyJavaScriptJScriptNIEOperaNESECMADOMCSSHTMLNotes
Enabled n/a5.5 5.5 n/a5.5 5.5 n/a n/a n/a n/a n/a n/a-
Bias n/a5.5 5.5 n/a5.5 5.5 n/a n/a n/a n/a n/a n/a-