Libnsgif is a decoding library for the GIF image file format, written in C. It was developed as part of the NetSurf project and is available for use by other software under the MIT licence.
Clone this repository recursively to components
directory of your ESP-IDF
project:
cd my_esp_project/components
git clone --recursive https://github.com/UncleRus/esp-idf-libnsgif.git libnsgif
Or add it as submodule:
cd my_esp_project/components
git submodule add https://github.com/UncleRus/esp-idf-libnsgif.git libnsgif
git submodule update --init --recursive
See example.
https://www.netsurf-browser.org/projects/libnsgif/
Examples