INFO: Color Management in IE4 Using ColorInfo Filter

ID: Q182484

The information in this article applies to:

SUMMARY

Color Management in Internet Explorer 4.0 (IE4) is supported via the ColorInfo filter.

MORE INFORMATION

The ColorInfo filter takes two parameters:

   ColorInfo(ColorSpace=sRGB,Intent=0)

ColorSpace can be "sRGB" or a fully qualified local file name of an ICM color profile.

Intent values can be one of the following:

Here is an example HTML file that uses the ColorInfo filter:

   <html>
   <body>
   <img src=test.gif><br>
   <img style="filter: ColorInfo(ColorSpace=sRGB, Intent=0)"
    src=test.gif><br>
   <img style="filter: ColorInfo(ColorSpace=sRGB, Intent=1)"
    src=test.gif><br>
   <img style="filter: ColorInfo(ColorSpace=sRGB, Intent=2)"
    src=test.gif><br>
   <img style="filter:
    ColorInfo(ColorSpace=C:\WINDOWS\SYSTEM\COLOR\other-color-profile.icm,
    Intent=0)" src=test.gif><br>
   </body>
   </html>

NOTE: For sRGB, the "sRGB Color Space Profile.icm" file is required in the \Windows\System\Color folder.

Keywords          : AXSDKIEScripting 
Version           : WINDOWS:4.0,4.01
Platform          : WINDOWS
Issue type        : kbinfo

Last Reviewed: April 22, 1998