Otherwise, images that do not contain an ICC profile are considered to be in the display color profile space rather than in the sRGB space. This is again similar to Firefox, but contrary to Safari.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
On Monday, January 4, 2016 at 10:53:28 PM UTC, Yoav Weiss wrote:Otherwise, images that do not contain an ICC profile are considered to be in the display color profile space rather than in the sRGB space. This is again similar to Firefox, but contrary to Safari.+1 for assuming sRGB if the color space was not specified, the meaning of the pixels in the image cannot possibly depend on the user’s configuration.More food for thought: is it Chrome’s responsibility to output anything different than sRGB?
Just had a long off-list discussion with Noel. I'll do my best to summarize it here:* In order to maintain color consistency between the page elements, we would need to correct CSS (including gradients), images, videos, canvas (and perhaps plugins) at the same time.* Since drawing is not necessarily centralized, making sure that no piece of code is drawing before correcting is not trivial.* The Skia team will also have to implement color correction.
* Gradients may pose an issue since in sRGB=>wide gamut conversions they can create banding artifacts. Can be overcome for CSS gradients but not necessarily for image gradients.* The use-case of not having to send sRGB profiles for sRGB images can be resolved by adding a low overhead sRGB profile to the standard, regardless of automatically converting no-profile images from sRGB to the display color space.* We need to gather data on which color profiles we see in the wild. UMA is being added. I'll try to gather some data as well.* In general color correction in not a panacea, as it has performance costs, but most importantly, can result in its own color distortions.* Some of the impact of sending sRGB to wider gamut screens can be minimized by users adjusting their screen settings, or sites picking "toned down" colors.* On mobile, no browser seems to be doing color correction, even for profiled images. Also, the screen gamuts there do not exceed that of sRGB. Therefore, it makes sense to send only no-profile sRGB images to mobile.* Perf concerns can be somewhat alleviated by applying color correction only when needed, offloading to GPU, etc. Distortion can also be reduced in some scenarios.* A "display profile" client hint could make sense here, and help developers send sRGB images to sRGB screens while sending wider gamut images to wider gamut displays.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
On Tue, 05 Jan 2016 11:11:50 +0100, 'Ruud van Asseldonk' via blink-dev <blin...@chromium.org> wrote:On Monday, January 4, 2016 at 10:53:28 PM UTC, Yoav Weiss wrote:Otherwise, images that do not contain an ICC profile are considered to be in the display color profile space rather than in the sRGB space. This is again similar to Firefox, but contrary to Safari.+1 for assuming sRGB if the color space was not specified, the meaning of the pixels in the image cannot possibly depend on the user’s configuration.More food for thought: is it Chrome’s responsibility to output anything different than sRGB?I think this was a very good question. Is it really every program's responsibility to adapt to the screen currently connected? What if there are more than one with different color profiles? What if half of the browser is on one screen and half on another?
On Tue, 5 Jan 2016 at 15:17 Daniel Bratell <bra...@opera.com> wrote:On Tue, 05 Jan 2016 11:11:50 +0100, 'Ruud van Asseldonk' via blink-dev <blin...@chromium.org> wrote:On Monday, January 4, 2016 at 10:53:28 PM UTC, Yoav Weiss wrote:Otherwise, images that do not contain an ICC profile are considered to be in the display color profile space rather than in the sRGB space. This is again similar to Firefox, but contrary to Safari.+1 for assuming sRGB if the color space was not specified, the meaning of the pixels in the image cannot possibly depend on the user’s configuration.More food for thought: is it Chrome’s responsibility to output anything different than sRGB?I think this was a very good question. Is it really every program's responsibility to adapt to the screen currently connected? What if there are more than one with different color profiles? What if half of the browser is on one screen and half on another?It seems like one issue is that if Chrome just outputs sRGB all the time and relies on the OS to correct it again, then any images that aren't in sRGB will get converted twice, which may lose information.