Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Not Evaluated
-
Resolution: Invalid
-
Affects Version/s: 5.15.1
-
Fix Version/s: None
-
Component/s: Image formats
-
Labels:None
-
Platform/s:
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.