jpeg2000 0.2.0

Rust bindings to OpenJPEG
Documentation

Rust bindings to OpenJPEG

This crate provides access to OpenJPEG's JPEG2000 decoder.

Warning

** This crate is still fairly experimental. ** (And it's the first time I'm writing unsafe Rust code :o)

Please be advised that using C code means this crate is likely vulnerable to various memory exploits, e.g. see http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-8332 for an actual example from the past.

As soon as someone writes an efficient JPEG2000 decoder in pure Rust you should probably switch over to that.

Examples

Run the examples from within the examples directory, using cargo run --example name.

License

Most of the code in this repository is provided under the GPL license (check out the relevant's files headers for more details). However note that this crate links statically to OpenJPEG which has its own (permissive) license, which you can find at openjp2-sys/libopenjpeg/LICENSE (you might have to check out the git submodule first).