Summary: | display-p3 canvas toDataURL / toBlob returns sRGB data for JPEGs | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Cameron McCormack (:heycam) <heycam> | ||||||||||
Component: | Canvas | Assignee: | Cameron McCormack (:heycam) <heycam> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | alecflett, beidson, benjamin, cdumez, changseok, clopez, cmarcelo, dino, esprehn+autocc, ews-watchlist, gyuyoung.kim, jsbell, kondapallykalyan, sam, webkit-bug-importer, youennf | ||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||
Version: | WebKit Local Build | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
See Also: | https://github.com/web-platform-tests/wpt/pull/30838 | ||||||||||||
Bug Depends on: | |||||||||||||
Bug Blocks: | 225140 | ||||||||||||
Attachments: |
|
Description
Cameron McCormack (:heycam)
2021-09-12 22:59:15 PDT
Created attachment 438017 [details]
Patch with squashed dependencies for EWS
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess Created attachment 438018 [details]
Patch with squashed dependencies for EWS
Comment on attachment 438018 [details] Patch with squashed dependencies for EWS View in context: https://bugs.webkit.org/attachment.cgi?id=438018&action=review > Source/WebCore/platform/graphics/cg/ImageBufferCGBackend.cpp:99 > + if (CGColorSpaceGetModel(imageBufferColorSpace.platformColorSpace()) != kCGColorSpaceModelRGB) > + return sRGBColorSpaceRef(); This is another spot where CGBitmapContextCreateForFlatteningImage might make sense. Created attachment 438441 [details]
Patch
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/30838 ChangeLog entry in LayoutTests/imported/w3c/ChangeLog contains OOPS!. Created attachment 438443 [details]
Patch
Committed r282634 (241791@main): <https://commits.webkit.org/241791@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 438443 [details]. |