缩略图生成器支持 LibRaw (#2109)

* feat: 增加 LibRaw 缩略图生成器。

* feat: 生成 RAW 图像的缩略图时,旋转缩略图的方向。

* update: RAW 缩略图支持镜像方向。
This commit is contained in:
sam
2024-07-31 12:11:33 +08:00
committed by GitHub
parent 23d009d611
commit 12e3f10ad7
4 changed files with 304 additions and 0 deletions

View File

@@ -145,6 +145,7 @@ func (fs *FileSystem) generateThumbnail(ctx context.Context, file *model.File) e
"thumb_vips_enabled",
"thumb_ffmpeg_enabled",
"thumb_libreoffice_enabled",
"thumb_libraw_enabled",
))
if err != nil {
_ = updateThumbStatus(file, model.ThumbStatusNotAvailable)