faf78247cbb71d7ab8d14015f9e4388ef13dcefb
VideoFrames of decoded images typically contain BGRA format. The CkBrowserImageDecoder implementation of toByteData needs to convert that into RGBA format. If the output format is rawRgba then it also needs to apply premultipled alpha. Also fixes an issue where _bgrToRgba was not converting all pixels in the image. Fixes https://github.com/flutter/flutter/issues/135409 Fixes https://github.com/flutter/flutter/issues/144770
Fix CkBrowserImageDecoder conversion of images to ImageByteFormat.rawRgba and rawStraightRgba (flutter/engine#52089)
Description
Languages
Dart
75.4%
C++
16.4%
Objective-C++
2.7%
Java
2.7%
Objective-C
0.6%
Other
1.8%