6 stable releases

new 1.0.12 Apr 16, 2025
1.0.11 Aug 15, 2024
1.0.10 Nov 6, 2023
1.0.9 Mar 7, 2023
1.0.0 May 19, 2019

#589 in Images

Download history 279/week @ 2024-12-28 515/week @ 2025-01-04 465/week @ 2025-01-11 431/week @ 2025-01-18 555/week @ 2025-01-25 609/week @ 2025-02-01 734/week @ 2025-02-08 329/week @ 2025-02-15 299/week @ 2025-02-22 434/week @ 2025-03-01 448/week @ 2025-03-08 467/week @ 2025-03-15 784/week @ 2025-03-22 620/week @ 2025-03-29 415/week @ 2025-04-05 654/week @ 2025-04-12

2,537 downloads per month
Used in 16 crates (4 directly)

BSD-2-Clause

2.5MB
49K SLoC

C 48K SLoC // 0.1% comments Rust 1K SLoC

OpenJPEG (JPEG 2000) bindings for Rust

openjpeg-sys on crates.io

This is a bare FFI interface for the C library. Builds from source and links statically.

For a high-level API, consider using jpeg2k instead.

Contributing

This crate is passively maintained. Please file an issue or send a pull request if an important change is needed or the bindings are outdated.

To update the native OpenJPEG library, checkout the new revision in the vendor git submodule, edit the header files in config according to the new version, and run generate.sh to update the FFI bindings.

Dependencies