JPEG encoder written in Rust
```rust use jpeg_encoder::{Encoder, ColorType};
// An array with 4 pixels in RGB format. let data = [ 255, 0, 0, 0, 255, 0, 0, 0, 255, 255, 255, 255, ];
// Create new encoder that writes to a file with maximum quality (100) let mut encoder = Encoder::new_file("some.jpeg", 100)?;
// Encode the data with dimension 2x2 encoder.encode(&data, 2, 2, ColorType::Rgb)?; ```
This crate needs at lest 1.43 or higher.
This project is licensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in serde_urlencoded by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.