Marcus A. Hofmann wrote:

> I have put up an example: http://ntony.codewut.de/temp/test.html
> 
> If you look at it in Safari and Firefox, you will see what I mean.  
> Maybe someone can explain what is happening there? How do you deal  
> with that?

Short answer:
Use the sRGB color space for everything you put on the web. In 
Photoshop: EDIT > Convert to Profile... and then select "sRGB 
IEC61966-2.1" as the destination space.

sRGB is a color space that is very close to the typical computer 
monitor, so using it should result in very similar results in browsers 
that are "color space aware" and those that aren't. Right now Safari is 
the only one that is but Firefox 3 should be released fairly soon.

Long(ish) answer:
Every pixel, as you know, is identified by its color values, of which 
there are three, Red Green and Blue, on a scale of 0-255.
So "255,0,0" would be red. But what shade of red, exactly? Without any 
color space information, the answer is "as red as the receiving device 
(printer or monitor) can make it" (because 255 is the highest number 
allowed). But "as red as the receiving device can make it" will, of 
course, be slightly different on every device. Without an embedded color 
profile, the color is "Device Dependent".

ICC profiles solve this problem by defining what any pixel value 
represents in terms of actual human color perception (theoretically). 
There are many different color spaces to accommodate many different 
input/output devices and/or image uses: sRGB, ProPhoto RGB, Adobe RGB 
1998, etc.

As an example: Say we have created a new designer color "Calvin Klein's 
Strawberry Blush". In sRGB it might be 200 Red, 55 Green, 99 Blue 
(200,55,99). In ProPhoto RGB color space the same color might be 181,52,80.

(BTW: I'm just making these numbers up as examples: Don't try this at home!)

A color space aware application like Safari will render "sRGB 200,55,99" 
and "ProPhoto 181,52,80" as exactly the same. A non-color space aware 
application like Firefox 2 can't read the ICC profile, so it will just 
see different numbers and render them as different colors. This is what 
you're seeing.

Read "Real World Color Management" by Fraser et. al. to get all the details.


-- 
PDML Pentax-Discuss Mail List
[email protected]
http://pdml.net/mailman/listinfo/pdml_pdml.net
to UNSUBSCRIBE from the PDML, please visit the link directly above and follow 
the directions.

Reply via email to