ImageViewer
                                
                                
                                
                                    ImageViewer copied to clipboard
                            
                            
                            
                        KTX2 BGRA8 sampling is wrong
Describe the bug At least when viewing KTX2 B8G8R8A8 textures, the tool still seems to treat the B channel as R and R as B causing the colors to be inverted.
To Reproduce Steps to reproduce the behavior:
- Open B8G8R8A8 KTX2 texture and find the colors are wrong. Unsure if other formats or DDS is affected too
 
Expected behavior For the BGRA format to be correctly sampled.
Desktop:
- OS: Windows 11
 - Version 3.8
 
Additional context Thumbnail generator is also affected and needs the same fix.
Excellent work on the tool, compatibility is very high otherwise