Recommend a png/gif decoder lib for me


I’m looking for a c/c++ image decoder lib to decode png/gif images.

What MCU/Processor/Board and compiler are you using?

Sim on PC

What do you want to achieve?

Decode png/gif images and display them with littlevgl

What have you tried so far?

I know there are plenty of decoders that works, but I didn’t find one that supports png and gif at the same time.

Code to reproduce


Screenshot and/or video


You can use two libraries for the two formats. Here is one for PNG which is already integrated with lvgl: