mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-17 16:32:11 +01:00
The original motivation (having a low-featured low-memory decoder just for counting GIF frames) is obsolete: https://crbug.com/1132828 Binary size, before: 42264 gen/lib/c/clang-9-dynamic/wuffs-std-gif.lo 42392 gen/lib/c/clang-9-static/wuffs-std-gif.o 44824 gen/lib/c/gcc-dynamic/wuffs-std-gif.lo 45624 gen/lib/c/gcc-static/wuffs-std-gif.o After: 26736 gen/lib/c/clang-9-dynamic/wuffs-std-gif.lo 26712 gen/lib/c/clang-9-static/wuffs-std-gif.o 27976 gen/lib/c/gcc-dynamic/wuffs-std-gif.lo 28392 gen/lib/c/gcc-static/wuffs-std-gif.o
Releases (in the C Programming Language)
Wuffs the Library ships as a "single file C library", also known as a "header file library".
To use that library in your C/C++ project, you just need to copy one file from
this directory, or otherwise integrate that one file into your build system.
Typically, pick the latest stable version (but not the unsupported snapshot),
with a filename like wuffs-vMAJOR.MINOR.c for version MAJOR.MINOR.
To use that single file as a "foo.c"-like implementation, instead of a
"foo.h"-like header, #define WUFFS_IMPLEMENTATION before #include'ing or
compiling it.
Latest Stable Version
Version 0.2 (December 2019) is the latest stable version. Stable means that its API won't change any further, but being a "version 0.x" means that:
- It will not have long term support.
- Newer versions make no promises about compatibility.