jpeg-xl library system-wide or specify
PKG_CONFIG_PATH to search for needed paths. Optionally, you can overwrite the include path and lib path with
If you want to build the library within cargo, enable
build-jpegxl features for
jpegxl-sys in your
You need to have a working
llvm environment. Note that this will link to
libc++ by default (since you already use llvm). You can modify it by setting
Check out testing in
src/lib.rs for some examples.
imagecrate integration (WIP)
with-image feature. Then you can use
image's decoder interface.