Add P3 and Rec2020 to ImageBitmap colorSpaceConversion modes |
||||
Issue descriptionCurrently, ImageBitmapOptions only accepts srgb and linear-rgb color space conversion modes. Add P3 and Rec2020 to the list according to https://github.com/WICG/canvas-color-space/blob/master/CanvasColorSpaceProposal.md.
,
Apr 24 2017
,
Apr 24 2017
ImageBitmap constructor from ImageData will not be addressed in this bug. A separate bug is filed ( crbug.com/714649 ) as there is more to do to fix this.
,
Apr 27 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/e8ebeeb0dc1bc8f404e5d4be970fcb6998ca41d8 commit e8ebeeb0dc1bc8f404e5d4be970fcb6998ca41d8 Author: zakerinasab <zakerinasab@chromium.org> Date: Thu Apr 27 13:21:26 2017 Add P3 and Rec2020 to ImageBitmap colorSpaceConversion modes Currently, ImageBitmapOptions accepts 'none', 'default', 'srgb' and 'linear-rgb' color space conversion modes. This CL adds 'p3' and 'rec2020' to the list according to https://github.com/WICG/canvas-color-space/blob/master/CanvasColorSpaceProposal.md. This CL also uses ColorCanvasParams to keep the color space settings. BUG= 714266 Review-Url: https://codereview.chromium.org/2836793002 Cr-Commit-Position: refs/heads/master@{#467655} [modify] https://crrev.com/e8ebeeb0dc1bc8f404e5d4be970fcb6998ca41d8/third_party/WebKit/Source/core/frame/ImageBitmap.cpp [modify] https://crrev.com/e8ebeeb0dc1bc8f404e5d4be970fcb6998ca41d8/third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp [modify] https://crrev.com/e8ebeeb0dc1bc8f404e5d4be970fcb6998ca41d8/third_party/WebKit/Source/core/imagebitmap/ImageBitmapOptions.idl [modify] https://crrev.com/e8ebeeb0dc1bc8f404e5d4be970fcb6998ca41d8/third_party/WebKit/Source/platform/graphics/CanvasColorParams.cpp [modify] https://crrev.com/e8ebeeb0dc1bc8f404e5d4be970fcb6998ca41d8/third_party/WebKit/Source/platform/graphics/CanvasColorParams.h
,
Apr 27 2017
,
Nov 27 2017
|
||||
►
Sign in to add a comment |
||||
Comment 1 by zakerinasab@chromium.org
, Apr 21 2017