Closed Cryru closed 3 years ago
Both the PNG and BMP image encoding/decoding return BGRA pixels. It would be nice if a PixelFormat (maybe reuse the one from GL?) can be passed in. This would allow certain mask textures to take up 4x less space.
PNGs now return pixel format since https://github.com/Cryru/Emotion/commit/eccddf6cc6d811bb0b2aa48190fb2ca6118a5759
Both the PNG and BMP image encoding/decoding return BGRA pixels. It would be nice if a PixelFormat (maybe reuse the one from GL?) can be passed in. This would allow certain mask textures to take up 4x less space.