We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f5d9bc commit 9020364Copy full SHA for 9020364
1 file changed
src/MediaConverters/MediaConverters.Lib/Imaging/Optimizations/ImageFileOptimization.cs
@@ -55,6 +55,8 @@ public static async Task<ImageFileOptimizationResult> OptimizeImageFileAsync(Ima
55
{
56
var file = imageFile;
57
var newFilePath = Path.Join(workingFolder.FullName, $"Copy_{Path.GetRandomFileName()}_{imageFile.Name}");
58
+ // 拷贝图片文件是耗时的
59
+ // Copy new file Cost 179ms.
60
file.CopyTo(newFilePath);
61
context.LogMessage($"Copy new file to '{newFilePath}'");
62
file = new FileInfo(newFilePath);
0 commit comments