mirror of
https://gitee.com/wangkang/udf.git
synced 2026-11-23 04:13:43 +00:00
更新
This commit is contained in:
+1
-1
@@ -221,7 +221,7 @@ public class DbFileService {
|
||||
log.warn("{} --> {} 创建文件目录失败,错误类型为 : {}", CoreUtil.getTraceId(), thumbnailsPath.getParent(), e.getClass().getName());
|
||||
}
|
||||
Files.createFile(thumbnailsPath);
|
||||
Thumbnails.of(path.toFile()).size(width, height).keepAspectRatio(false).toFile(thumbnailsPath.toFile());
|
||||
Thumbnails.of(path.toFile()).size(width, height).keepAspectRatio(false).outputQuality(1).toFile(thumbnailsPath.toFile());
|
||||
}
|
||||
path = thumbnailsPath;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user