From 04a24ea4386c4bd9b76b968c012ce2318e59b8be Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Thu, 19 May 2022 17:37:26 +0800 Subject: [PATCH] jpg --- IRaCIS.Core.Application/Service/QC/NoneDicomStudyService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/Service/QC/NoneDicomStudyService.cs b/IRaCIS.Core.Application/Service/QC/NoneDicomStudyService.cs index 0c0f2a2da..3f15de46b 100644 --- a/IRaCIS.Core.Application/Service/QC/NoneDicomStudyService.cs +++ b/IRaCIS.Core.Application/Service/QC/NoneDicomStudyService.cs @@ -224,7 +224,7 @@ namespace IRaCIS.Core.Application.Contracts //_logger.LogError(_fileStorePath); - var storePreviewPath = _fileStorePath + ".preview.jpeg"; + var storePreviewPath = _fileStorePath + ".preview.jpg"; //if (!File.Exists(storePreviewPath)) //{ @@ -240,7 +240,7 @@ namespace IRaCIS.Core.Application.Contracts } //} - return new FileContentResult(await File.ReadAllBytesAsync(storePreviewPath), "image/jpeg"); + return new FileContentResult(await File.ReadAllBytesAsync(storePreviewPath), "image/jpg"); }