1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-07-27 17:28:36 +00:00

Update image crate

This commit is contained in:
Ossi Herrala 2024-04-27 11:12:13 +03:00
parent a56139549f
commit aff97e4032
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -192,7 +192,7 @@ impl Service {
let mut thumbnail_bytes = Vec::new();
thumbnail.write_to(
&mut Cursor::new(&mut thumbnail_bytes),
image::ImageOutputFormat::Png,
image::ImageFormat::Png,
)?;
// Save thumbnail in database so we don't have to generate it again next time