Today, on the 20th anniversary of SAIL, an image decoding library for C/C++, release 0.9.0 was released.
Demo screenshot: https://sail.software/demo.webp
Key features:
- Four API levels to suit your needs.
The shallowest level of immersion is junior, where it is possible to load only one frame using two lines of code:
struct sail_image *image; SAIL_TRY(sail_load_from_file(path, &image));
The deepest level of immersion is loading animated or multi-page images from non-standard sources (not a file or memory).
- Loading from file or memory out of the box.
- Dynamically loaded codecs. The ability to compile codecs into one library (-DSAIL_COMBINE_CODECS=ON) if dynamic loading is inconvenient for some reason.
- Written in C11 with C++11 binding.
- Available on Windows, Linux, macOS.
- Available in Conan, vcpkg, brew package managers (some PRs are pending merging).
- Supports all modern image formats: JPEG, PNG, TIFF, GIF, AVIF, WEBP, JPEG XL and others.
- Faster almost all of its competitors represented by STB or FreeImage.
Source: linux.org.ru
