Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 891 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 891 Bytes

openimageio-rs

(Experimental) Rust bindings to the OpenImageIO image loading library.

Prerequisites

Note: Unfortunately, these bindings are currently unusable on Linux since OpenImageIO does not yet support pkg-config.

openimageio-rs does not currently attempt to compile the native C++ library from scratch. Instead, the native C++ library must already be installed on your system. The build script will try to find it via pkg-config on Linux, or vcpkg on Windows. Currently, only OpenImageIO 1.8 is supported.

Use the following vcpkg command to install the native library on Windows:

vcpkg install openimageio

Usage

Add the following line to the [dependencies] in Cargo.toml:

openimageio = { git = "https://github.com/ennis/openimageio-rs" }

Example usages

TODO fill this section