Color profiles and the internet, color management in Firefox and IE

0
572

{nomultithumb}

One of the great paradoxes, or at least proposals, surrounding the world of color management is the ability of the main Internet browsers to support color management.

When we generate an image in almost any editor, it is usually stored and distributed with its corresponding attached color profile. However, when this image is published on the internet, the attached ICC color profile is usually not interpreted, being replaced by the generic sRGB.

This means that if we have used a somewhat particular profile, or one with an especially wide gamut, the colors of our image will be severely altered.

From this problem arises the strong recommendation to always convert our images to sRGB when distributing them for publication.

Another added difficulty is the type of supported profiles. I have already discussed in other articles on this website about the types of profiles. As a summary, the reader should know that there are two essential types of ICC color profiles: matrix-based profiles (Matrix Based) and lookup table-based profiles (LUT Based). These two conversion strategies between spaces have different results in color reproduction, but they also play a decisive role when considering color management in internet browsers, since as you will experience below, our dear Firefox does not support table-based profiles (LUTs).

Currently Safari, the well-known Apple browser, is the only one that incorporates native color management both in version 2 and 4, and in files based on matrices as well as LUTs.
Firefox supports color management partially. It can be activated by typing about:config in the address bar and searching for the preference gfx.color_management.mode which we must set to 1, and optionally gfx.color_management_rendering_intent =1, to define the type of intent.

We can also install an add-on that helps us make this change more visually. However, as mentioned before, Firefox only supports matrix-based profiles.
The Microsoft Internet Explorer series supports color management, but in an even more convoluted way, and only if we have specified in our HTML code the type of profile to use, and have it installed on our system.

Browser Matrix Based LUT Based
Firefox 3.6 No No
Firefox 3.6 + Add On Color Management Yes (ICC V2) No
Safari Yes (ICC V2-V4) Yes (ICC V2-V4)
Chrome No No
Internet Explorer 8 No No
Internet Explorer 8 + ColorInfo filter Yes Yes

Below are a series of images that cover various situations related to color management, so that the reader can evaluate the behavior of their browser

Color Management Test for Internet Browsers.

The following images are shown: first without an embedded ICC color profile, so our browser will display it under the sRGB gamut. And a second image with our particular profile converted to sRGB so we can see each color in its place, regardless of the browser we use.

color management browser color management browser

Therefore, the first image will be displayed incorrectly and the second correctly.

Color management in Firefox, Chrome, and Internet Explorer

The following images incorporate their own profile that allows seeing the colors exactly as we have designed them. If your browser supports color management, you will see each color in its place.
If your browser does not support color management, you will see green as red, and pink as blue.

color management browser test matrix color management browser test lut

Color management with HTML

The following images are published on the web, with the ColorInfo filter. This technique is based on incorporating the style tag with the attributes filter:colorInfo:

style="filter: ColorInfo(ColorSpace=text_exploradores_matrix.icc,intent=1)"

This technique is only relevant for Microsoft Internet Explorer, provided that we have the profile installed in the Windows profile directory:
systemroot\System32\Spool\Drivers\Color.
This situation requires us to first download the profile, install it, and then view the corresponding website.

Sites of interest

If you want to continue experimenting with color management and the internet you can visit these sites:

To evaluate the ICC versions supported by our browser:
http://www.color.org/version4html.xalter

Images to evaluate the type of supported profile:
http://www.color.org/browsertest.xalter

Conclusions on the use of Color Profiles for the Internet

Although the color management capabilities of our browsers open a certain door to being able to display our images with our own color spaces, it is currently not a common practice, so we should alert the visitor that our images have their own ICC color profiles.
On the other hand, it should be taken into account that most tools for uploading our images to the web, or even for generating thumbnails or resizing them, whether from PHP or portals like Flickr, do not respect or preserve our own color profiles. Therefore, for now, we must continue converting our favorite color spaces to the sRGB standard.