update image(-rs)

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry authored and June committed 2024-03-16 00:09:48 -04:00
1 parent c26ba6437e
commit 4bfcbf2b57
3 files changed
+32 -11

No files matched your search

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