libultrahdr-sys

Crates.iolibultrahdr-sys
lib.rslibultrahdr-sys
version0.1.2
created_at2025-01-23 16:58:08.130043+00
updated_at2025-01-25 11:27:10.947185+00
descriptionA Rust interface to libultrahdr
homepage
repository
max_upload_size
id1527996
size16,959
gwy15 (gwy15)

documentation

https://docs.rs/libultrahdr-sys

README

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, vcpkg 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!

Commit count: 0

cargo fmt