Update crate image to the version 0.25.0
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3c4c670fc6
commit
619d2615b0
864
Cargo.lock
generated
864
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -14,7 +14,7 @@ categories = [ "command-line-utilities", "filesystem", "multimedia" ]
|
||||
[dependencies]
|
||||
anyhow = "1.0.81"
|
||||
id3 = "1.13.1"
|
||||
image = "0.24.8"
|
||||
image = "0.25.0"
|
||||
structopt = { version = "0.3.26", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
|
@ -38,7 +38,7 @@ pub fn embed_image_from_memory(
|
||||
let mut encoded_image_bytes = Cursor::new(Vec::new());
|
||||
// Unwrap: Writing to a Vec should always succeed;
|
||||
image
|
||||
.write_to(&mut encoded_image_bytes, image::ImageOutputFormat::Jpeg(90))
|
||||
.write_to(&mut encoded_image_bytes, image::ImageFormat::Jpeg)
|
||||
.unwrap();
|
||||
|
||||
tag.add_frame(id3::frame::Picture {
|
||||
|
Loading…
Reference in New Issue
Block a user