3 releases
0.1.2 | Jan 25, 2025 |
---|---|
0.1.1 | Jan 25, 2025 |
0.1.0 | Jan 23, 2025 |
#897 in Images
430 downloads per month
Used in libultrahdr-rs
7KB
67 lines
libultrahdr-sys
A rust bindgen crate for Google's libultrahdr.
Building with installed libraries
Since libultrahdr depends on libjpeg,
- On *nix systems,
pkg-config
will be used to find libjpeg-turbo. - On windows systems,
vcpk
g will be used to find libjpeg-turbo.
You need to manually compile and install libultrahdr per its instruction. After that,
either use pkg-config
use automatically find libultrahdr, or
set environment variables to skip pkg-config
search.
UHDR_LIB_PATH=/path/to/lib
UHDR_HEADER=/path/to/uhdr_api.h
UHDR_STATIC=1
Building from source
Not implemented yet. PRs welcome!
Dependencies
~0–2MB
~38K SLoC