调整大小
parent
396eaf7e68
commit
a82575710f
|
@ -232,7 +232,7 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
using (var image = SixLabors.ImageSharp.Image.Load(await File.ReadAllBytesAsync(_fileStorePath)))
|
||||
{
|
||||
image.Mutate(x => x
|
||||
.Resize(400, 400)
|
||||
.Resize(1000, 1000)
|
||||
);
|
||||
|
||||
await image.SaveAsJpegAsync(storePreviewPath);
|
||||
|
|
Loading…
Reference in New Issue