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 0 | 0 | 0 | 0 |
0.3.2 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform
Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.
Apache-2.0 - Apache License 2.0WARNING: This crate is in maintenance mode as image-rs seeks to move over to the zune-jpeg crate. However, since other Rust JPEG crates do not support lossless mode, we will continue to welcome PRs related to that functionality.
A Rust library for decoding JPEGs.
Cargo.toml:
[dependencies]
jpeg-decoder = "0.3"main.rs:
extern crate jpeg_decoder as jpeg;
use std::fs::File;
use std::io::BufReader;
fn main() {
let file = File::open("hello_world.jpg").expect("failed to open file");
let mut decoder = jpeg::Decoder::new(BufReader::new(file));
let pixels = decoder.decode().expect("failed to decode image");
let metadata = decoder.info().unwrap();
}This crate compiles with Rust >= 1.61. Minimum supported Rust version:
0.1.* compile with Rust >= 1.36.0.2.* compile with Rust >= 1.48.