34 releases
0.11.2+libjxl-0.11.1 | Nov 27, 2024 |
---|---|
0.11.0+libjxl-0.11.0 | Sep 27, 2024 |
0.10.4+libjxl-0.10.3 | Jun 30, 2024 |
0.10.2+libjxl-0.10.2 | Mar 21, 2024 |
0.1.6 | Aug 25, 2020 |
#311 in Images
3,964 downloads per month
Used in 2 crates
(via jpegxl-rs)
455KB
6K
SLoC
jpegxl-sys
jpegxl-sys
is a wrapper over libjxl
library. Check out the original library here.
Building
If you wish to specify a custom library path, set the DEP_JXL_LIB
environment variable.
Building libjxl
and statically linking can be enabled by using the vendored
feature.
Usage
Check out testing units in src/lib.rs
for some examples.
Multi-thread
Because libjxl_threads
uses std::thread
, if you build and statically link libjxl
, you need to
dynamically link to libc++
or libstdc++
.
Using dynamic library doesn't need this requirement.