Libwebp¶
About¶
Libwebp is an open-source library that support the processing of WebP-formatted images. It is widely used in various applications, including image processing, image compression, and image decompression. For more information, visit the official Libwebp website.
Note
On Discoverer we use libwebp as main productive WebP image format provider for CPU-based applications.
Supported versions¶
In case your applications requite the use of another WebP image format provider, you can install it by yourself, but those builds will not be supported by the Discoverer HPC team.
To check which Libwebp versions and build types are currently supported on Discoverer, execute on the login node:
module avail libwebp
Loading¶
If you need to access the latest version of the Libwebp library, load the module without specifying the version:
module load libwebp
In case you need to access a specific version of the Libwebp library, you can specify the version:
module load libwebp/<version>
Build recipes and tests¶
We use the recent LLVM Compiler Infrastructure to build the Libwebp library code. We do not support any other compilers for that purpose. The LLVM.org compilers are the default compilers on Discoverer Petascale Supercomputer. Since the code of the library does not include Fortran, the compiled binaries are not Fortran-compatible and can be used with any other compiler collection. That means our build of libwebp is optimised for producing the fastest possible binaries for CPU-based applications.
For those who are interested in the process of compiling and optimizing the code of Libwebp we follow, there is public access to our build recipes at:
https://gitlab.discoverer.bg/vkolev/recipes/-/tree/main/libwebp
There are also logs that were collected during the compilation and testing processes.
Getting help¶
See Getting help