Closed jtsage closed 3 years ago
For posterity: DDSParse and Decode-DXT appear to be functioning perfectly correctly. Did a color bar image test, order of the rgba Buffer was as expected.
nativeImage from electron was flipping the color fields. I have no idea why - it was cross platform with windows and linux, and it's a 4-byte sequence, so it's not and endian-ness issue. It's not really the intended use of nativeImage, so I backed off and used a different library.
I would file a ticket with electron, but I'm honestly not convinced I'm simply using it wrong. Maybe some other time.
Describe the bug Icons are being loaded, but the color order must be wrong. (red and blue appear swapped. maybe more than that)
Example: this should be case red. It certainly is in game.