etcpak icon indicating copy to clipboard operation
etcpak copied to clipboard

Misleading naming conventions regarding channel ordering

Open stohrendorf opened this issue 1 year ago • 2 comments

The encoding expects a channel ordering of BGRA, whereas every function argument or function name uses RGBA. Even more confusing, the decoding returns RGBA, and not BGRA, which means that the semantics of the data suddenly changes when doing a simple encode/decode roundtrip (given you could put in in-memory data as mentioned in #33), as the channel ordering gets changed.

stohrendorf avatar Jan 15 '23 01:01 stohrendorf