Update image crate
This commit is contained in:
parent
a56139549f
commit
aff97e4032
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue