Capture screenshot produces wrong images in presence of color profiles
Reported by
ruben....@gmail.com,
Nov 18 2017
|
||
Issue descriptionUserAgent: 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.
,
Sep 13
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!
,
Sep 13
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 |
||
Comment 1 by kebalaji@chromium.org
, Nov 28 2017Labels: M-64 Needs-Triage-M62 OS-Mac OS-Windows
Status: Untriaged (was: Unconfirmed)