by ErikCorry · 4y ago · 0 comments
It was pretty good, but in the end I don't think I'll be making it part of the graphics system. I would really like a bit of random access into the image without having to divide it up into multiple tiles. And the spec took a direction that didn't really suit me - i wanted to use it for Gui-like textures which have slabs of colours and anti-aliased edges with varying alpha. In the final version of the spec there's no way to code "the alpha changed, but the color is the same". without spending 5 bytes on a single pixel. Previously that took 2 bytes.
So I'm still looking for a format with:
* Very small amount of decode state (GIF's 16k is probably too much - PNG's 32k is certainly too much).
* Fast decode (these embedded chips are not as fast as desktops).
* Alpha channel (not just on-off like GIF)
* A bit of random access like the parallel PNG, but hopefully less bolted-on.