Release of image decoding library SAIL 0.9.0

The SAIL 0.9.0 C/C++ image decoding library has been released. It can be used to create image viewers, load images into memory, load resources during game development, etc. The library continues the development of the ksquirrel-libs image format decoders from the KSquirrel program, which were rewritten from C++ to C. The KSquirrel program has been around since 2003 (today the project turns 20 years old), but development of the viewer was discontinued in 2008 along with KDE3. The SAIL code is distributed under the MIT license. Work in Windows, macOS и Linux.

Key features:

  • Four API levels. 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 from a file or from memory).

  • Support loading from files or from memory.
  • Dynamically loaded codecs. The ability to compile codecs into one library (-DSAIL_COMBINE_CODECS=ON) if dynamic loading is inconvenient for some reason.
  • The code is written in C11 with C++11 binding.
  • 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, etc.
  • Outperforms almost all of its competitors, such as STB or FreeImage.

Release of image decoding library SAIL 0.9.0


Source: opennet.ru
Buy reliable hosting for sites with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster