From 63676056fece96dd37b8f412370864671e259cfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20=C4=8Cas?= Date: Mon, 17 Oct 2016 02:46:31 +0200 Subject: [PATCH] `gif.h` is C++-only. The library is unfortunately only for C++. Note the use of references, default arguments, *and* use of `GifPalette` without `struct` prefix in: ```c void GifGetClosestPaletteColor(GifPalette* pPal, int r, int g, int b, int& bestInd, int& bestDiff, int treeRoot = 1) ``` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 38b9c77..d3011b7 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,7 @@ as C/C++, as this is not an obstacle to most users.) | library | license | API |files| description | --------------------------------------------------------------------- |:--------------------:|:---:|:---:| ----------- | [jo_gif.cpp](http://www.jonolick.com/home/gif-writer) | **public domain** | C++ |**1**| animated GIF writer (CPP file can also be used as H file) -|**[gif.h](https://github.com/ginsweater/gif-h)** | **public domain** | C |**1**| animated GIF writer (can only include once) +|**[gif.h](https://github.com/ginsweater/gif-h)** | **public domain** | C++ |**1**| animated GIF writer (can only include once) |**[tiny_jpeg.h](https://github.com/serge-rgb/TinyJPEG/)** | **public domain** |C/C++|**1**| JPEG encoder |**[gif_load](https://github.com/hidefromkgb/gif_load)** | **public domain** |C/C++|**1**| (animated) GIF reader | [miniexr](https://github.com/aras-p/miniexr) | **public domain** | C++ | 2 | OpenEXR writer, needs header file