ResIL
Resilient Image Library - successor to DevIL
...ResIL offers a simple API for these operations. ResIL also receives frequent updates to keep up with the evolution of the supported file formats. It started as a fork of DevIL but much of the code base has actually been rewritten to enhance stability. Support for webp and heic has been added. ResIL focuses on robust decoding so that even partially corrupted images can be displayed without crashes or exceptions.