Bug 303230
| Summary: | [WPE] WebKitImage uses incorrect color type when encoding | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Pena <spena> |
| Component: | WPE WebKit | Assignee: | Simon Pena <spena> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Simon Pena
WebKitImage implements the GLoadableIcon interface, and in load uses Skia to encode its bytes into a PNG image. When a WebKit::WebImage is created, it uses PixelFormat::BGRA8, but WebKitImage assumed RGBA8 was used, and instructed Skia accordingly.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Pena
Pull request: https://github.com/WebKit/WebKit/pull/54551
EWS
Committed 303675@main (bd53bc0caa62): <https://commits.webkit.org/303675@main>
Reviewed commits have been landed. Closing PR #54551 and removing active labels.