|
WeddingPlatform.Web 1.0.0.0
지도, 갤러리, 방명록, 계좌 안내와 배경음악을 링크 하나에 담는 무료 모바일 청첩장 서비스입니다.
|

Public 멤버 함수 | |
| bool | CanEncode (string outputFormat) |
| Task< ImageOptimizationResult > | OptimizeAsync (string sourcePath, string destinationPath, EffectiveMediaPolicy policy, CancellationToken ct=default) |
이미지 리사이즈, 출력 형식 변환, EXIF 제거를 담당합니다.
IImageOptimizationService.cs 파일의 13 번째 라인에서 정의되었습니다.
| bool WeddingPlatform.Services.IImageOptimizationService.CanEncode | ( | string | outputFormat | ) |
지정한 출력 형식을 현재 서버에서 인코딩할 수 있는지 확인합니다.
| outputFormat | output Format에 사용할 string 값입니다. |
true이고, 그렇지 않으면 false입니다.WeddingPlatform.Services.SystemDrawingImageOptimizationService에서 구현되었습니다.
| Task< ImageOptimizationResult > WeddingPlatform.Services.IImageOptimizationService.OptimizeAsync | ( | string | sourcePath, |
| string | destinationPath, | ||
| EffectiveMediaPolicy | policy, | ||
| CancellationToken | ct = default ) |
원본 이미지 파일을 정책에 맞춰 최적화한 뒤 대상 경로에 저장합니다.
| sourcePath | source Path에 사용할 string 값입니다. |
| destinationPath | destination Path에 사용할 string 값입니다. |
| policy | policy에 사용할 EffectiveMediaPolicy 값입니다. |
| ct | 취소 요청을 감시하는 토큰입니다. |
Task<ImageOptimizationResult> 결과입니다.WeddingPlatform.Services.SystemDrawingImageOptimizationService에서 구현되었습니다.