Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.15.1
-
None
Description
If one creates an image out of framebuffer written in RGBA8888 (physically red is the first byte, then green, etc.) format, saves it to a .png, loads it to another QImage and compares, they are different.
This behaviour is different from ARGB32, where a framebuffer written in ARGB32 (physically alpha is the first byte, then red, etc...) is saved to a .png, then loaded to another QImage and compared, the comparison succeeds.
Example code attached.