Verify correct bit depth of wide color gamut in canvas |
|||
Issue descriptionAs 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.
,
Sep 8 2017
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.
,
Nov 27 2017
|
|||
►
Sign in to add a comment |
|||
Comment 1 by zakerinasab@chromium.org
, Sep 7 2017