[backend/drive] Also strip exif/xmp from thumbnail
This commit is contained in:
parent
f8a5d7c06c
commit
605c636e1e
1 changed files with 2 additions and 0 deletions
|
@ -149,6 +149,8 @@ public class DriveService(
|
|||
{
|
||||
// Generate thumbnail
|
||||
var thumbnailImage = image.Clone();
|
||||
thumbnailImage.Metadata.ExifProfile = null;
|
||||
thumbnailImage.Metadata.XmpProfile = null;
|
||||
if (Math.Max(image.Size.Width, image.Size.Height) > 1000)
|
||||
thumbnailImage.Mutate(p => p.Resize(image.Width > image.Height
|
||||
? new Size(1000, 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue