You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cloudreve/pkg/filesystem/image.go

20 lines
386 B

package filesystem
import (
"context"
model "github.com/HFO4/cloudreve/models"
)
/* ===============
===============
*/
// HandledExtension 可以生成缩略图的文件扩展名
var HandledExtension = []string{}
// GenerateThumbnail 尝试为文件生成缩略图
func (fs *FileSystem) GenerateThumbnail(ctx context.Context, file *model.File) {
// TODO
}