4 ms·
Show HN: Header-only GIF decoder in pure C – no malloc, easy to use
I built a lightweight GIF decoder in pure C, ideal for embedded or performance-critical environments. It’s header-only, zero dynamic memory allocations, and fully platform-independent. Supports both static and animated GIFs, with turbo and safe decoding modes. Works great on microcontrollers, IoT devices, and anything with a framebuffer. Would love feedback or ideas where this could be useful.
GitHub: https://github.com/Ferki-git-creator/TurboStitchGIF-HeaderOnly-Fast-ZeroAllocation-PlatformIndependent-Embedded-C-GIF-Decoder https://github.com/Ferki-git-creator/TurboStitchGIF-HeaderOn...
- gus_massa 1y agoPrevious discussions last month: https://news.ycombinator.com/item?id=44658027 https://news.ycombinator.com/item?id=44658027 (47 points | 31 days ago | 43 comments) https://news.ycombinator.com/item?id=44592303 https://news.ycombinator.com/item?id=44592303 (24 points | 37 days ago | 10 comments) Is there any mayor update? What is GIF_MODE_TURBO ? I don't remember that in the specification, but I read it a very long time ago. Someone commented that it didn't compile when GIF_MODE_TURBO was undefined. Is that fixed?