New issue
Advanced search Search tips

Issue 786757 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Sep 13
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Capture screenshot produces wrong images in presence of color profiles

Reported by ruben....@gmail.com, Nov 18 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36

Steps to reproduce the problem:
1. Open about:flags, search for "Force color profiles" (also happens with system-wide color profiles)
2. Select "Color spin with gamma 2.4", and restart the browser as prompted
3. Open the following HTML in the browser:
<html>
<body>
  <div style="background: #391F31;width: 100px;height: 100px"></div>
</body>
</html>
4. Open developer tools, enable device emulation
5. On the overflow menu, click "Capture screenshot"
6. Open the screenshot with your favorite image editor

What is the expected behavior?
The rectangle in the captured screenshot should have color #391F31, as specified in the HTML.

What went wrong?
The rectangle has color #333b3a which seems to be the result of applying the color profile.

Did this work before? N/A 

Chrome version: 62.0.3202.89  Channel: stable
OS Version: xubuntu 17.04
Flash Version: 

If you save a canvas as image, then you get the right colors, it seems like only the "Capture screenshot" tool is affected.
"Capture screenshot" is a fairly recent tool, so it might be the case that it was always affected.
 
Cc: kebalaji@chromium.org
Labels: M-64 Needs-Triage-M62 OS-Mac OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Win-10, Mac 10.12.6 and Ubuntu 14.04 on reported version #62.0.3202.89 , latest stable #62.0.3202.94 and latest canary 64.0.3278.5.

This is a Non-Regression issue seen from M62. ( Flag "Force color profiles" can be set from M62). Hence marking it as untriaged.

Thanks!
Status: Archived (was: Untriaged)
Archiving old bugs that haven't been actively assigned in over 180 days.

If you feel this issue should still be addressed, feel free to reopen it or to file a new issue. Thanks!
Archiving old bugs that haven't been actively assigned in over 180 days.

If you feel this issue should still be addressed, feel free to reopen it or to file a new issue. Thanks!

Sign in to add a comment