35 releases
| 0.12.0+libjxl-0.11.1 | Jan 6, 2026 |
|---|---|
| 0.11.2+libjxl-0.11.1 | Nov 27, 2024 |
| 0.11.1+libjxl-0.11.0 | Oct 1, 2024 |
| 0.10.4+libjxl-0.10.3 | Jun 30, 2024 |
| 0.1.6 | Aug 25, 2020 |
#471 in Images
2,173 downloads per month
Used in 6 crates
(via jpegxl-rs)
460KB
6K
SLoC
jpegxl-sys
jpegxl-sys provides a wrapper for the libjxl library.
For more details, refer to the original library.
Building
If you wish to specify a custom library path, set the DEP_JXL_LIB environment variable.
To build libjxl and statically link it, use 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 the dynamic library doesn't need this step.