• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
5

P: Web module doesn't use display's color profile -- incorrect color management

LEGEND ,
Oct 01, 2016 Oct 01, 2016

Copy link to clipboard

Copied

The Web module in CC 2015.7 / OS X 10.11.5 doesn't use the display's profile when showing photos. You can easily verify this:

1. Install this display profile on your system. The profile swaps red for blue, green for red, and blue for green.

2. In the Library module, view a photo and notice the colors have been garishly swapped, indicating that Library is using the display profile.

3. In the Web module, use the default HTML gallery to view the same photo, and notice that the colors have not been swapped, indicating that the display profile is not being used.

4. In the Web module, click Preview In Browser. If your browser is color-managed, the colors of the photo will be swapped. (You may have to completely restart your browser before doing this.)

With a regular display profile, this bug can cause colors in the Web module to be more saturated.  See the original report from Bob Somrak here: https://forums.adobe.com/thread/2216419

The problem doesn't occur with LR 5.7.1, and Bob thinks it doesn't occur with minor versions prior to CC 2015.7.

Bug Acknowledged
TOPICS
macOS , Windows

Views

64

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Oct 25, 2018 Oct 25, 2018
I have logged a bug for this. We would look into this.

Votes

Translate

Translate
12 Comments
LEGEND ,
Oct 01, 2016 Oct 01, 2016

Copy link to clipboard

Copied

To illustrate this I made a screenshot, where pink sky means the profile is being used whereas normal-looking blue sky means it is not:

RackMultipart2016100125859nr9b-91316107-8f2d-46ff-8dbe-915cef917d6d-1217214588.jpg

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Oct 03, 2016 Oct 03, 2016

Copy link to clipboard

Copied

Hi John,

I went back to 2015.0 and tried this. All versions are working same as 2015.7.

I will work with engineering on this to figure out more details.

Meanwhile could you confirm if you could it doesn't occur in prior versions of Lightroom CC?

Thanks,
Smit Keniya
Adobe Lightroom Team

Smit | Lightroom Classic Team

Votes

Translate

Translate

Report

Report
LEGEND ,
Oct 03, 2016 Oct 03, 2016

Copy link to clipboard

Copied

For LR CC, I only have 2015.7 installed -- I don't know how to have multiple minor releases installed at the same time.  As mentioned above, I do have LR 5.7.1 installed, and the problem does not occur with it.  Thanks.

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Oct 04, 2016 Oct 04, 2016

Copy link to clipboard

Copied

Ok. I understand that.

Smit | Lightroom Classic Team

Votes

Translate

Translate

Report

Report
LEGEND ,
Jun 01, 2018 Jun 01, 2018

Copy link to clipboard

Copied



I see this has been reported several years ago, but it's still happening. You can see that the Web Module is more saturated than the Library Module and the finals online in Safari. My X-Rite i1 Profiler profile is out of date, but still being applied.

I'm on: 
LR CC 7.3.1
MBP v10.13.4 
Safari v11.1

RackMultipart2018060152649gafq-89652ffb-f1b8-446a-8cae-a0ea51594e67-828085267.jpg

RackMultipart20180601777861es3-3ae06359-22c4-4d38-bc74-d342601a1442-519082454.jpg

RackMultipart2018060175160f2bx-52ea473e-e1ea-4472-903c-b992050ffa01-1219458706.jpg

Votes

Translate

Translate

Report

Report
LEGEND ,
Oct 24, 2018 Oct 24, 2018

Copy link to clipboard

Copied

This problem still occurs in LR 8.0 / Mac OS 10.13.6 -- the Web module doesn't use the display's assigned ICC profile. To further confuse matters, the Web module does use an ICC profile embedded in a photo, apparently converting the photo to sRGB (as many Microsoft products have done).

Following the recipe posted above, I assigned FakeBRG.icc to the display, which swaps the red and blue channels.  A program that uses the display's ICC profile will display photos with red and blue swapped.

Library thumbnails have red and blue swapped, indicating that LR is using the display profile:

RackMultipart20181024904501850-64704b3a-c315-414d-91e3-44e178114840-834905692.png

The Web module HTML thumbnails and photo preview are not using the display profile:

RackMultipart201810247402lxh2h-8dcd7467-2a0a-49ce-a37c-2ee77f3b18c2-27093440.png
RackMultipart201810241227221ya-211a2152-2503-4ae2-821e-4e3894ab2b0b-87004959.png

Clicking Preview in Browser to preview the gallery in Chrome confirms Chrome is using the display profile:

RackMultipart2018102451100hzwm-64ca99a1-bec6-4075-b36b-138ff3f6749c-1701057753.png

Here's a test photo FakeBRG.jpg with an embedded ICC profile that swaps red for blue, green for red, and blue for green, as it appears in Library:

RackMultipart20181024434951oqa-6cbd0d3f-5737-4e26-991f-078848a3a8e4-2004931807.png

The colors are swapped, indicating that LR is using the embedded profile. 

But here's how that photo appears in the Web module, indicating that it also uses the photo's embedded profile!

RackMultipart20181024655371fth-c57e0a15-9029-4870-b7a2-f99178ab7f0d-1350687597.png

Many Microsoft products have long behaved this way, using a photo's embedded profile while assuming the display profile was sRGB, instead of using the assigned profile.  Colloquially, many have called this "partial" color management.

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Oct 25, 2018 Oct 25, 2018

Copy link to clipboard

Copied

I have logged a bug for this. We would look into this.

Smit | Lightroom Classic Team

Votes

Translate

Translate

Report

Report
LEGEND ,
Oct 25, 2018 Oct 25, 2018

Copy link to clipboard

Copied

On Mac OS 10.13.6, I retested the recipe above with LR 4, 5.7.1, and 6.14. To summarize the testing of older versions: 

2.7: Works correctly (Per Bernsten)

4.0: Works correctly (John Ellis)

5.7.1: Works correctly (John Ellis)

6.0: Works incorrectly (Smit Keniya)

6.14: Works incorrectly (John Ellis)

8.0: Works incorrectly (John Ellis)

Votes

Translate

Translate

Report

Report
LEGEND ,
Oct 25, 2018 Oct 25, 2018

Copy link to clipboard

Copied

This bug exists in LR5....
Author “Color Management for Photographers" & "Photoshop CC Color Management/pluralsight"

Votes

Translate

Translate

Report

Report
LEGEND ,
Oct 25, 2018 Oct 25, 2018

Copy link to clipboard

Copied

Didn’t work correctly for me in last build of LR5. I’m on MacOS, bug shows depending on the web gallery which itself is odd.
Author “Color Management for Photographers" & "Photoshop CC Color Management/pluralsight"

Votes

Translate

Translate

Report

Report
LEGEND ,
Oct 26, 2018 Oct 26, 2018

Copy link to clipboard

Copied

Summary: LR includes third-party web-browser engines that are almost certainly used to render HTML Web galleries. The observed color-management behavior of LR's Web module matches that of these Web engines on Mac. The Web module could be made fully color-managed by updating LR to use the most recent version of the Chromium Embedded Framework.

Details

The Finder shows LR 4.0 and 5.7.1 on Mac include WebKit 1.0.0, the web browser engine used by Safari, which has long been fully color managed (using profiles embedded in photos and the display profile).  Accordingly, the Web module in these versions of LR is fully color-managed.

The Finder shows LR 6.0, 6.14, and 8.0 on Mac include Chromium Embedded Framework (CEF), the web engine inside Chrome.  All of these LR versions use an old version of CEF (31523.6.11), dating from at least 2015, when LR 6 was released.  Older versions of Chrome were only partially color-managed, using profiles embedded in photos but assuming the display's profile was sRGB.  Accordingly, the Web module in these versions of LR behaves similarly.

Both web engines treat photos without an embedded profile ("untagged") specially. WebKit assumes the photo is sRGB and displays it using the display profile. CEF sends the color numbers directly to the display without using the display profile.

The color behavior of CEF in LR's Web module was certainly reasonable for 2015, since it matched the behavior of the most popular browser at the time.  But now most people viewing the Web on desktop computers use browsers that are fully color-managed.  Newer versions of CEF support full color-management, so this issue could be addressed by including the most recent version of CEF in LR.

Steps to Confirm

The step-by-step above demonstrates the basic behavior of the Web module in the various LR versions. The following recipe provides detailed confirmation that the Web module's behavior matches the corresponding web engine.

I created a color chart in Pro Photo and then converted it to Adobe RGB (1998) and sRGB, creating these files: adobergb.jpg, prophoto.jpg, srgb.jpg.

I created an additional three versions of the chart by removing the embedded profiles: adobergb.untagged.jpg, prophoto.untagged.jpg, srgb.untagged.jpg.

I created two more versions by assigning the sRGB profile to adobergb.jpg and prophoto.jpg using ExifTool: adobergb.srgb.jpg, prophoto.srgb.jpg.

These are all available here, along with the screenshots included below: 
https://www.dropbox.com/s/vpf5onzinh124km/web-module.2018.10.26.zip?dl=0 

I displayed each chart in LR 8.0's Web module and compared it side-by-side with one of the charts displayed using Faststone, a popular Windows app that isn't color-managed. (Faststone was running in a virtual machine, with its CMS disabled. This was the most convenient way for me to send color numbers directly to the display without using a photo's profile or the display profile. You could also use Photoshop if you set the Color Settings appropriately.)

In the screenshots that follow, the Web module's HTML gallery is on the left and the Faststone window on the right. The name of the charts being displayed is at the bottom left and bottom right.

For the charts adobergb.jpg, prophoto.rgb, and srgb.jpg, the Web module converts them to sRGB and sends the resulting color numbers to the display without using the display profile. Thus, the Web module matches srgb.untagged.jpg as viewed in Faststone:

RackMultipart2018102698460q7x0-8be62bc9-c42f-4362-a44a-c8a7abd41baf-150063808.png

RackMultipart20181026828391213-1b2620be-d6b9-40af-a772-dae86b40d506-231478763.png

RackMultipart2018102645620rg8t-a3b8f1d5-1e58-4b3b-9d2d-e35dbf0bcb7d-1417068057.png

For the charts adobergb.untagged.jpg, prophoto.untagged.jpg, and srgb.untagged.jpg, these files are missing embedded profiles, so the Web module sends their color numbers unmodified to the display without using the display profile. Thus, the Web module matches the results of the file displayed in Faststone:

RackMultipart2018102697279oe4w-6a167871-6c88-4c67-bff7-b004ac680ee0-218085795.png

RackMultipart201810261241861vf-46e3bf53-5d0a-4850-a769-22cbcb9a123f-1273793068.png

RackMultipart20181026127395ce9-61fc0ea6-9192-4464-89a1-123602ad2e50-214373900.png

You can open these screenshots in Photoshop and compare the RGB values of the corresponding patches -- they match to +/- 1 of the RGB value (e.g. 171 versus 172 in the red channel). (Screenshots record the pixel values as they are sent to the display, after any display profile has been applied.)

I did a similar procedure with LR 5.7.1. As predicted, for the tagged files adobergb.jpg, prophoto.jpg, and srgb.jpg, the Web module matches the output of Safari (both use WebKit). For the untagged files, the Web module assumes they are in sRGB and then displays them using the display profile.  For example, the Web module's output of prophoto.untagged.jpg matches Safari displaying prophoto.srgb.jpg (which is prophoto.jpg assigned the sRGB profile).

Votes

Translate

Translate

Report

Report
LEGEND ,
Oct 26, 2018 Oct 26, 2018

Copy link to clipboard

Copied

LATEST
Impressive sleuthing job John.

Votes

Translate

Translate

Report

Report