nvtiff-sys

Crates.ionvtiff-sys
lib.rsnvtiff-sys
version0.1.2
created_at2025-05-29 06:50:25.143245+00
updated_at2025-07-15 10:43:44.789455+00
descriptionRust bindings to nvTIFF via bindgen
homepage
repositoryhttps://git.sr.ht/~weiji14/nvtiff-sys
max_upload_size
id1693552
size68,885
Wei Ji (weiji14)

documentation

README

nvtiff-sys

crates.io docs.rs

Rust bindings to nvTIFF via bindgen.

Instructions

  1. Download and install from .deb at https://developer.nvidia.com/nvtiff-0-5-0-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Debian&target_version=12&target_type=deb_network
  2. Patch nvtiff.h file, change
    • L539,L714,L821 size_t memLimit=0); -> ); size_t memLimit); no default argument
    • L912 nvtiffTagDataType type, -> enum nvtiffTagDataType type, enum type
  3. Run cargo build
  4. Bindings should be generated in $CARGO_MANIFEST_DIR/src/nvtiff.rs file.

Testing

  1. Download the following test files to the images/ folder:
  2. Run cargo test.

Contributing

We welcome third-party patches. If you have any changes you'd like to make to nvtiff-sys, please send a patch to the nvtiff-sys-devel mailing list.

Commit count: 0

cargo fmt