image-rs / image

Encoding and decoding images in Rust
Apache License 2.0
4.87k stars 600 forks source link

Support JPEG 2000 #631

Open abonander opened 7 years ago

abonander commented 7 years ago

https://www.reddit.com/r/rust/comments/60os8v/jp2_decoding_to_calculate_dhash_values/

leoschwarz commented 6 years ago

Since I need JPEG 2000 (JP2) decoding for a project I started working on bindings to OpenJPEG (using bindgen). ~It's not working yet (kind of struggling calling the methods actually doing the work and haven't had more luck writing the glue code in C yet)~ but I'll work on it this week. I guess a pure Rust solution might be a lot more favorable but for now this is what I'm going after:

https://github.com/leoschwarz/jpeg2000-rust