Show HN: 纯 C 语言实现的头文件 GIF 解码器 – 无需 malloc,易于使用
12 分•作者: FerkiHN•10 个月前
我用纯 C 语言编写了一个轻量级的 GIF 解码器,非常适合嵌入式或对性能有较高要求的环境。它仅包含头文件,不进行动态内存分配,并且完全与平台无关。支持静态和动态 GIF,具有 Turbo 和安全解码模式。在微控制器、物联网设备以及任何带有帧缓冲区的设备上都能完美运行。欢迎提供反馈或想法,告诉我它还能用于哪些方面。
Github: <a href="https://github.com/Ferki-git-creator/TurboStitchGIF-HeaderOnly-Fast-ZeroAllocation-PlatformIndependent-Embedded-C-GIF-Decoder">https://github.com/Ferki-git-creator/TurboStitchGIF-HeaderOn...</a>
查看原文
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.<p>Github: <a href="https://github.com/Ferki-git-creator/TurboStitchGIF-HeaderOnly-Fast-ZeroAllocation-PlatformIndependent-Embedded-C-GIF-Decoder">https://github.com/Ferki-git-creator/TurboStitchGIF-HeaderOn...</a>