A crate for decoding Nintendo Jupiter Texture files.
Based on the work of jtex_view and Kuriimu2.
let file = File::open("Prs_P_254_C.jtex")?;
let decoder = JupiterDecoder::decode(file)?;
let image = DynamicImage::from_decoder(decoder)?;
image.save_with_format("Prs_P_254_C.png", ImageFormat::Png)?;
Please refer to the API Documentation for more information.
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in jtex by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.