`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) ```
This commit is contained in:
parent
30e6810e0a
commit
63676056fe
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue