New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 763042 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Feature

Blocking:
issue 634542



Sign in to add a comment

Verify correct bit depth of wide color gamut in canvas

Project Member Reported by zakerinasab@chromium.org, Sep 7 2017

Issue description

As reported in https://chromium-review.googlesource.com/c/chromium/src/+/655622, currently the round-trip error in SRGB->WCG->SRGB is higher than expected. After talking to brianosman@ from Skia, the reason might be improper use of SkTransferFunctionBehavior parameter in makeColorSpace, which causes the wide gamut color space to use only 8 bit (instead of 15 bit). Investigate this and verify if this can lead to reducing the color correction tolerance in unit tests and layout tests.
 
*instead of 16 bit*
Status: WontFix (was: Assigned)
Digging more, it appears that nothing is wrong. The error level in SRGB->WCG_U8->SRGB is higher than normal color correction operations because the pixels are clipped in WCG when U8 storage is used instead of F16 storage. See this fiddle for a detailed demonstration of the situation: https://fiddle.skia.org/c/584fbc0b778a32a6cc2ea3ecbf2c6e8e

Setting this bug as won't fix.
Blocking: 634542

Sign in to add a comment