From f1f6e84aa0600d333cfe55742dfe7fa1e9fe75cd Mon Sep 17 00:00:00 2001 From: dogwithakeyboard <128322708+dogwithakeyboard@users.noreply.github.com> Date: Tue, 5 Mar 2024 22:56:17 +0000 Subject: [PATCH] Add bmp to image codec list (#4653) --- pkg/file/image/scan.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/file/image/scan.go b/pkg/file/image/scan.go index ba22bbee9..b78de91e0 100644 --- a/pkg/file/image/scan.go +++ b/pkg/file/image/scan.go @@ -69,7 +69,7 @@ func (d *Decorator) Decorate(ctx context.Context, fs models.FS, f models.File) ( isClip := true // This list is derived from ffmpegImageThumbnail in pkg/image/thumbnail. If one gets updated, the other should be as well - for _, item := range []string{"png", "mjpeg", "webp"} { + for _, item := range []string{"png", "mjpeg", "webp", "bmp"} { if item == probe.VideoCodec { isClip = false }