tag | ee367ff57901415012e41698093cc573b2d95b0c | |
---|---|---|
tagger | Andreas Molzer <andreas.molzer@gmx.de> | Sun Mar 27 22:12:44 2022 |
object | fdf02535dd32dcb96a51c4c735ba6da0b05327ec |
Release 0.2.3 - Added `Decoder::set_max_decoding_buffer_size` which limits the bytes allocated for the output of the decoding process. - Added Arm64-Neon intrinsic implementation of idct and color conversion. This depends on a Rust nightly compiler feature ([`aarch64_target_feature`]) and it must be explicitly enabled. As soon as the minimum supported Rust version includes the stabilization of this feature, the code will be enabled by default and the feature changed to do nothing. [`aarch64_target_feature`]: https://github.com/rust-lang/rust/issues/90620 a55ad40a2d27923f63b6fbde5934926176c69ac5e23da6ac05ebfaca984e163f target/package/jpeg-decoder-0.2.3.crate
commit | fdf02535dd32dcb96a51c4c735ba6da0b05327ec | [log] [tgz] |
---|---|---|
author | Andreas Molzer <andreas.molzer@gmx.de> | Sun Mar 27 20:24:45 2022 |
committer | Andreas Molzer <andreas.molzer@gmx.de> | Sun Mar 27 21:26:06 2022 |
tree | 1a0a3f5c368afe483b416bc8d1ca566123be54de | |
parent | 74eccb3320fd2767a98f3d9d8ef6681780d2be93 [diff] |
Fix conflict: explicit tests and exclude pattern
A Rust library for decoding JPEGs.
Cargo.toml:
[dependencies] jpeg-decoder = "0.2"
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.48. Minimum Supported Rust Version:
0.1.*
compile with rust >= 1.36.0.2.*
may bump Rust Version requirements (TBD).