Help and Support

Article ID: 182484 - Last Review: October 2, 2003 - Revision: 2.0

INFO: Color Management in IE4 Using ColorInfo Filter

This article was previously published under Q182484
Expand all | Collapse all

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:

  • 0 (default) for "Images" - Maintain contrast. Used for photographs and natural images
  • 1 for "Graphics" - Maintain colormetric match. Used for graphic designs and named colors.
  • 2 for "Business" - Maintain saturation. Used for business charts and other situations in which undithered colors are required.
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.


APPLIES TO
  • Microsoft Internet Explorer 4.0 128-Bit Edition
  • Microsoft Internet Explorer 4.01 Service Pack 2
Keywords: 
kbinfo KB182484
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Article Translations

 

Related Support Centers