Hi HN,
I made a lightweight, header-only GIF decoder in C, inspired by stb-style libraries.
No dynamic allocation, portable, and optimized for embedded devices.
I made this to replace giflib for embedded and low-resource use cases.
It's:
header-only (drop-in),
zero-allocation (you provide the buffer),
faster LZW decoding (turbo mode),
compatible with C89 environments, etc.
Happy to get feedback or suggestions!
eqvinox•4h ago
Listing code size numbers for arm-none-eabi-gnu might be good advertisement (compile/"size" output of a file using all the functions is enough, no need to figure out some target to link or have a main() for)
ranger_danger•2h ago
> compatible with C89 environments
What do you mean by this? Because the code I'm looking at does not appear to be C89.
anitil•2h ago
Very nice project, interesting that there's a couple header-only projects on the front page today [0].
FerkiHN•15h ago
header-only (drop-in),
zero-allocation (you provide the buffer),
faster LZW decoding (turbo mode),
compatible with C89 environments, etc.
Happy to get feedback or suggestions!
eqvinox•4h ago
ranger_danger•2h ago
What do you mean by this? Because the code I'm looking at does not appear to be C89.